Re: [Intel-gfx] [PATCH v2 14/27] drm/i915: clean up atomic plane check functions

2015-06-15 Thread Maarten Lankhorst
Op 15-06-15 om 14:05 schreef Daniel Vetter: > On Thu, Jun 11, 2015 at 06:23:09AM +0200, Maarten Lankhorst wrote: >> Op 11-06-15 om 03:35 schreef Matt Roper: >>> On Thu, Jun 04, 2015 at 02:47:44PM +0200, Maarten Lankhorst wrote: By passing crtc_state to the check_plane functions a lot of duplic

Re: [Intel-gfx] [PATCH v2 14/27] drm/i915: clean up atomic plane check functions

2015-06-15 Thread Daniel Vetter
On Thu, Jun 11, 2015 at 06:23:09AM +0200, Maarten Lankhorst wrote: > Op 11-06-15 om 03:35 schreef Matt Roper: > > On Thu, Jun 04, 2015 at 02:47:44PM +0200, Maarten Lankhorst wrote: > >> By passing crtc_state to the check_plane functions a lot of duplicated > >> code can be removed. And now that the

Re: [Intel-gfx] [PATCH v2 14/27] drm/i915: clean up atomic plane check functions

2015-06-10 Thread Maarten Lankhorst
Op 11-06-15 om 03:35 schreef Matt Roper: > On Thu, Jun 04, 2015 at 02:47:44PM +0200, Maarten Lankhorst wrote: >> By passing crtc_state to the check_plane functions a lot of duplicated >> code can be removed. And now that the transitional helpers are gone the >> crtc_state can be reliably obtained.

Re: [Intel-gfx] [PATCH v2 14/27] drm/i915: clean up atomic plane check functions

2015-06-10 Thread Matt Roper
On Thu, Jun 04, 2015 at 02:47:44PM +0200, Maarten Lankhorst wrote: > By passing crtc_state to the check_plane functions a lot of duplicated > code can be removed. And now that the transitional helpers are gone the > crtc_state can be reliably obtained. > > Signed-off-by: Maarten Lankhorst > --- >

[Intel-gfx] [PATCH v2 14/27] drm/i915: clean up atomic plane check functions

2015-06-04 Thread Maarten Lankhorst
By passing crtc_state to the check_plane functions a lot of duplicated code can be removed. And now that the transitional helpers are gone the crtc_state can be reliably obtained. Signed-off-by: Maarten Lankhorst --- drivers/gpu/drm/i915/intel_atomic_plane.c | 4 ++- drivers/gpu/drm/i915/intel_