summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/drm_legacy.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2019-04-23 01:36:54 +0200
committerDave Airlie <airlied@redhat.com>2019-04-24 04:32:15 +0200
commit058ca50ce3f1d40dac4d918a91684b0af4a0c468 (patch)
treed1eb71a7daff85111cd777294365b979417fc3ff /drivers/gpu/drm/drm_legacy.h
parentdrm/radeon: drop unused ati pcigart include. (diff)
downloadlinux-058ca50ce3f1d40dac4d918a91684b0af4a0c468.tar.xz
linux-058ca50ce3f1d40dac4d918a91684b0af4a0c468.zip
drm/legacy: move lock cleanup for master into lock file (v2)
This makes it easier to remove legacy code later. v2: move check into lock file as well. Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/drm_legacy.h')
-rw-r--r--drivers/gpu/drm/drm_legacy.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/drm_legacy.h b/drivers/gpu/drm/drm_legacy.h
index 3dc626090fcb..974c2be6bcd5 100644
--- a/drivers/gpu/drm/drm_legacy.h
+++ b/drivers/gpu/drm/drm_legacy.h
@@ -126,4 +126,5 @@ int drm_legacy_sg_alloc(struct drm_device *dev, void *data,
int drm_legacy_sg_free(struct drm_device *dev, void *data,
struct drm_file *file_priv);
+void drm_legacy_lock_master_cleanup(struct drm_device *dev, struct drm_master *master);
#endif /* __DRM_LEGACY_H__ */