drm: Push struct_mutex into ->master_destroy
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 26 Apr 2016 17:29:38 +0000 (19:29 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 27 Apr 2016 06:46:41 +0000 (08:46 +0200)
commit0d787b143d83de94decb801701a005ffd3ec6823
tree8aac5fec896220c3cb7b8085432587780efeb946
parentec1f52efc0406a72870a1fcb859f18dea24bcd8b
drm: Push struct_mutex into ->master_destroy

Only two drivers implement this hook. vmwgfx (which doesn't need it
really) and legacy radeon (which since v1 has been nuked, yay).

v1: Rebase over radeon ums removal.

Cc: Thomas Hellstrom <thellstrom@vmware.com>
Cc: Alex Deucher <alexdeucher@gmail.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1461691808-12414-6-git-send-email-daniel.vetter@ffwll.ch
drivers/gpu/drm/drm_drv.c