Re: [PATCH 4/4] drm/sti: atomic crtc/plane update

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

 



On Fri, Jul 31, 2015 at 12:13:27PM +0200, Vincent Abriou wrote:
>  static struct drm_crtc_helper_funcs sti_crtc_helper_funcs = {
>  	.dpms = sti_crtc_dpms,

dpms isn't needed any more with atomic, you should use
drm_atomic_helper_connector_dpms instead of drm_helper_connector_dpms.

> -	.prepare = sti_crtc_prepare,
> -	.commit = sti_crtc_commit,
> +	.prepare = sti_crtc_helper_prepare,

prepare is now called .enable for clarity.

> +	.commit = sti_crtc_helper_commit,

commit and disable are redundant with atomic.

Cheers, Daniel
-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/dri-devel




[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