RE: [PATCH 3/3] drm/vkms: change vkms driver to use drm_writeback_connector.base pointer

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi All,
Gentle Reminder! Any Review comments?

> Changing vkms driver to accomadate the change of
> drm_writeback_connector.base to a pointer the reason for which is
> explained in the Patch(drm: add writeback pointers to drm_connector).
> 
> Signed-off-by: Kandpal, Suraj <suraj.kandpal@xxxxxxxxx>
> ---
>  drivers/gpu/drm/vkms/vkms_writeback.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/drivers/gpu/drm/vkms/vkms_writeback.c
> b/drivers/gpu/drm/vkms/vkms_writeback.c
> index 8694227f555f..6de0c4213425 100644
> --- a/drivers/gpu/drm/vkms/vkms_writeback.c
> +++ b/drivers/gpu/drm/vkms/vkms_writeback.c
> @@ -114,7 +114,7 @@ static void vkms_wb_atomic_commit(struct
> drm_connector *conn,
>  	struct vkms_device *vkmsdev = drm_device_to_vkms_device(conn-
> >dev);
>  	struct vkms_output *output = &vkmsdev->output;
>  	struct drm_writeback_connector *wb_conn = &output-
> >wb_connector;
> -	struct drm_connector_state *conn_state = wb_conn->base.state;
> +	struct drm_connector_state *conn_state = wb_conn->base->state;
>  	struct vkms_crtc_state *crtc_state = output->composer_state;
> 
>  	if (!conn_state)
> @@ -140,8 +140,8 @@ int vkms_enable_writeback_connector(struct
> vkms_device *vkmsdev)  {
>  	struct drm_writeback_connector *wb = &vkmsdev-
> >output.wb_connector;
> 
> -	vkmsdev->output.wb_connector.encoder.possible_crtcs = 1;
> -	drm_connector_helper_add(&wb->base,
> &vkms_wb_conn_helper_funcs);
> +	vkmsdev->output.wb_connector.encoder->possible_crtcs = 1;
> +	drm_connector_helper_add(wb->base,
> &vkms_wb_conn_helper_funcs);
> 
>  	return drm_writeback_connector_init(&vkmsdev->drm, wb,
>  					    &vkms_wb_connector_funcs,
Regards,
Suraj Kandpal




[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux