[PATCH v3 1/3] drm/atomic-helper: Add atomic_disable CRTC helper callback

2016-08-22 Thread Ying Liu
On Mon, Aug 22, 2016 at 3:01 PM, Daniel Vetter wrote: > On Fri, Aug 19, 2016 at 05:36:57PM +0800, Liu Ying wrote: >> Some display controllers need plane(s) to be disabled together with >> the relevant CRTC, e.g., the IPUv3 display controller for imx-drm. >> This patch adds atomic_disable CRTC

[PATCH v3 1/3] drm/atomic-helper: Add atomic_disable CRTC helper callback

2016-08-22 Thread Daniel Vetter
On Mon, Aug 22, 2016 at 9:37 AM, Ying Liu wrote: >> kernel-doc is a bit lacking compared to the one for @disable. And I think >> on top of that it should explain better the difference with @disable (and >> @disable should reference @atomic_disable too). > > Will improve the kernel-doc in the next

[PATCH v3 1/3] drm/atomic-helper: Add atomic_disable CRTC helper callback

2016-08-22 Thread Daniel Vetter
On Fri, Aug 19, 2016 at 05:36:57PM +0800, Liu Ying wrote: > Some display controllers need plane(s) to be disabled together with > the relevant CRTC, e.g., the IPUv3 display controller for imx-drm. > This patch adds atomic_disable CRTC helper callback so that > old_crtc_state(as a parameter of the

[PATCH v3 1/3] drm/atomic-helper: Add atomic_disable CRTC helper callback

2016-08-19 Thread Liu Ying
Some display controllers need plane(s) to be disabled together with the relevant CRTC, e.g., the IPUv3 display controller for imx-drm. This patch adds atomic_disable CRTC helper callback so that old_crtc_state(as a parameter of the callback) could be used to get all appropriate active plane(s) of