[PATCH v3 03/10] drm/imx: atomic phase 1: Use transitional atomic CRTC and plane helpers

2016-08-15 Thread Ying Liu
On Sun, Aug 14, 2016 at 7:43 PM, Peter Senna Tschudin wrote: > On Sun, Aug 14, 2016 at 12:46:27PM +0200, Daniel Vetter wrote: >> On Sun, Aug 14, 2016 at 11:44:14AM +0200, Daniel Vetter wrote: >> > On Sat, Aug 13, 2016 at 12:29:47PM +0100, Russell King - ARM Linux wrote: >> > > On Sat, Aug 13,

[PATCH v3 03/10] drm/imx: atomic phase 1: Use transitional atomic CRTC and plane helpers

2016-08-14 Thread Peter Senna Tschudin
On Sun, Aug 14, 2016 at 12:46:27PM +0200, Daniel Vetter wrote: > On Sun, Aug 14, 2016 at 11:44:14AM +0200, Daniel Vetter wrote: > > On Sat, Aug 13, 2016 at 12:29:47PM +0100, Russell King - ARM Linux wrote: > > > On Sat, Aug 13, 2016 at 11:45:31AM +0100, Russell King - ARM Linux wrote: > > > > On

[PATCH v3 03/10] drm/imx: atomic phase 1: Use transitional atomic CRTC and plane helpers

2016-08-14 Thread Daniel Vetter
On Sun, Aug 14, 2016 at 11:44:14AM +0200, Daniel Vetter wrote: > On Sat, Aug 13, 2016 at 12:29:47PM +0100, Russell King - ARM Linux wrote: > > On Sat, Aug 13, 2016 at 11:45:31AM +0100, Russell King - ARM Linux wrote: > > > On Sat, Aug 13, 2016 at 11:11:54AM +0100, Russell King - ARM Linux wrote: >

[PATCH v3 03/10] drm/imx: atomic phase 1: Use transitional atomic CRTC and plane helpers

2016-08-14 Thread Daniel Vetter
On Sat, Aug 13, 2016 at 12:29:47PM +0100, Russell King - ARM Linux wrote: > On Sat, Aug 13, 2016 at 11:45:31AM +0100, Russell King - ARM Linux wrote: > > On Sat, Aug 13, 2016 at 11:11:54AM +0100, Russell King - ARM Linux wrote: > > > On Mon, Jul 04, 2016 at 03:40:32PM +0800, Liu Ying wrote: > > >

[PATCH v3 03/10] drm/imx: atomic phase 1: Use transitional atomic CRTC and plane helpers

2016-08-13 Thread Russell King - ARM Linux
On Sat, Aug 13, 2016 at 03:09:10PM +0100, Russell King - ARM Linux wrote: > Okay, this is what I've ended up with - I'm not sure whether it's > correct or not, but this dirty patch allows the full series to be > applied and still have working userspace. > > I still need to undo all the reverts I

[PATCH v3 03/10] drm/imx: atomic phase 1: Use transitional atomic CRTC and plane helpers

2016-08-13 Thread Russell King - ARM Linux
Okay, this is what I've ended up with - I'm not sure whether it's correct or not, but this dirty patch allows the full series to be applied and still have working userspace. I still need to undo all the reverts I have touching imx-drm between patch 10 of this set and 4.8-rc1... diff --git

[PATCH v3 03/10] drm/imx: atomic phase 1: Use transitional atomic CRTC and plane helpers

2016-08-13 Thread Russell King - ARM Linux
On Sat, Aug 13, 2016 at 11:45:31AM +0100, Russell King - ARM Linux wrote: > On Sat, Aug 13, 2016 at 11:11:54AM +0100, Russell King - ARM Linux wrote: > > On Mon, Jul 04, 2016 at 03:40:32PM +0800, Liu Ying wrote: > > > Use the drm_plane_helper_update/disable() and drm_helper_crtc_mode_set() > > >

[PATCH v3 03/10] drm/imx: atomic phase 1: Use transitional atomic CRTC and plane helpers

2016-08-13 Thread Russell King - ARM Linux
On Sat, Aug 13, 2016 at 11:11:54AM +0100, Russell King - ARM Linux wrote: > On Mon, Jul 04, 2016 at 03:40:32PM +0800, Liu Ying wrote: > > Use the drm_plane_helper_update/disable() and drm_helper_crtc_mode_set() > > transitional atomic helpers. The crtc->mode_set_nofb callback is added > > so that

[PATCH v3 03/10] drm/imx: atomic phase 1: Use transitional atomic CRTC and plane helpers

2016-08-13 Thread Russell King - ARM Linux
On Mon, Jul 04, 2016 at 03:40:32PM +0800, Liu Ying wrote: > Use the drm_plane_helper_update/disable() and drm_helper_crtc_mode_set() > transitional atomic helpers. The crtc->mode_set_nofb callback is added > so that the primary plane is no longer tied to the CRTC. Check/update > logics are

[PATCH v3 03/10] drm/imx: atomic phase 1: Use transitional atomic CRTC and plane helpers

2016-07-04 Thread Liu Ying
Use the drm_plane_helper_update/disable() and drm_helper_crtc_mode_set() transitional atomic helpers. The crtc->mode_set_nofb callback is added so that the primary plane is no longer tied to the CRTC. Check/update logics are separated to make sure crtc->mode_set_nofb and plane->atomic_update are