Re: [Intel-gfx] [PATCH 1/3] drm: Extract __setplane_check()

2018-06-28 Thread Rodrigo Vivi
On Thu, Jun 28, 2018 at 04:54:55PM +0300, Ville Syrjala wrote: > From: Ville Syrjälä > > Pull all the error checking out from __set_plane_internal() to a helper > function. We'll have another user of this soon. > > Signed-off-by: Ville Syrjälä Reviewed-by: Rodrigo Vivi > --- > drivers/gpu/d

[PATCH 1/3] drm: Extract __setplane_check()

2018-06-28 Thread Ville Syrjala
From: Ville Syrjälä Pull all the error checking out from __set_plane_internal() to a helper function. We'll have another user of this soon. Signed-off-by: Ville Syrjälä --- drivers/gpu/drm/drm_plane.c | 80 +++-- 1 file changed, 49 insertions(+), 31 dele