]> git.baikalelectronics.ru Git - kernel.git/commit
drm: Move master functions into drm_auth.c
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 14 Jun 2016 18:50:59 +0000 (20:50 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 16 Jun 2016 08:17:23 +0000 (10:17 +0200)
commitf70af8f0ab2f878c3405bc6647033e454867549b
treea7a3391a71c5fc8d3a2f68bbb17f1920ea6b9c31
parentd9e1407702de57a7108c3d581fb2f1bfbb5fcd04
drm: Move master functions into drm_auth.c

For modern drivers pretty much the only thing drm_master does is
handling authentication for the primary/legacy drm_minor node. Instead
of having it all over drm files, move it all together into drm_auth.c.

This patch just does code-motion, follow up patches will also extract
the master logic from file open&release paths.

Reviewed-by: Chris Wilson Mchris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1465930269-7883-5-git-send-email-daniel.vetter@ffwll.ch
drivers/gpu/drm/drm_auth.c
drivers/gpu/drm/drm_drv.c
drivers/gpu/drm/drm_fops.c
drivers/gpu/drm/drm_internal.h
include/drm/drmP.h