summaryrefslogtreecommitdiff
path: root/linux-core/drmP.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@panoply-rh.(none)>2008-03-17 16:37:46 +1000
committerDave Airlie <airlied@panoply-rh.(none)>2008-03-17 16:38:20 +1000
commit607964ed9e5f6d86a0960bef2341e7f5de9c71da (patch)
tree2fa0f3ff0bc57846eded35c4b76e92c08dbec7c5 /linux-core/drmP.h
parent2d0411cb7544ea45b5879d4f454cb9ee3c9ff5fb (diff)
drm: add master set/drop protocol
this may not survive long - just need something for testing
Diffstat (limited to 'linux-core/drmP.h')
-rw-r--r--linux-core/drmP.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/linux-core/drmP.h b/linux-core/drmP.h
index 8273c879..c2c3cdde 100644
--- a/linux-core/drmP.h
+++ b/linux-core/drmP.h
@@ -1266,6 +1266,10 @@ extern int drm_agp_unbind_memory(DRM_AGP_MEM * handle);
extern struct drm_ttm_backend *drm_agp_init_ttm(struct drm_device *dev);
extern void drm_agp_chipset_flush(struct drm_device *dev);
/* Stub support (drm_stub.h) */
+extern int drm_setmaster_ioctl(struct drm_device *dev, void *data,
+ struct drm_file *file_priv);
+extern int drm_dropmaster_ioctl(struct drm_device *dev, void *data,
+ struct drm_file *file_priv);
extern struct drm_master *drm_get_master(struct drm_minor *minor);
extern void drm_put_master(struct drm_master *master);
extern int drm_get_dev(struct pci_dev *pdev, const struct pci_device_id *ent,