[PATCH 14/16] drm: Extract drm_is_current_master

2016-06-17 Thread Daniel Vetter
Just rolling out a bit of abstraction to be able to clean up the master logic in the next step. Cc: Chris Wilson Cc: Thomas Hellstrom Signed-off-by: Daniel Vetter --- drivers/gpu/drm/drm_auth.c | 12 +--- drivers/gpu/drm/drm_crtc.c | 2 +- drivers/gpu/d

[PATCH 14/16] drm: Extract drm_is_current_master

2016-06-17 Thread Chris Wilson
On Fri, Jun 17, 2016 at 09:33:32AM +0200, Daniel Vetter wrote: > Just rolling out a bit of abstraction to be able to clean > up the master logic in the next step. > > Cc: Chris Wilson > Cc: Thomas Hellstrom > Signed-off-by: Daniel Vetter Reviewed-by: Chris Wilson > --- > diff --git a/drivers/