diff options
author | Thomas White <taw@bitwiz.org.uk> | 2009-04-27 00:03:39 +0100 |
---|---|---|
committer | Thomas White <taw@bitwiz.org.uk> | 2009-04-27 00:03:39 +0100 |
commit | 606179ac4f81f708aeddaa0320ca7db28ba7c476 (patch) | |
tree | 70bd47ab52c47d9861d839d21966d34b764de74a /include/drm/drmP.h | |
parent | c537af849a1acd1a4c6f404e33439c42acd44c99 (diff) |
Kernel handling of command queue
This adds handling of Glamo's ring buffer at the kernel level, to be accessed
via ioctl DRM_GLAMO_CMDBUF.
Signed-off-by: Thomas White <taw@bitwiz.org.uk>
Diffstat (limited to 'include/drm/drmP.h')
-rw-r--r-- | include/drm/drmP.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/drm/drmP.h b/include/drm/drmP.h index 176fdc2c313..6e14efad777 100644 --- a/include/drm/drmP.h +++ b/include/drm/drmP.h @@ -1040,7 +1040,9 @@ static inline int drm_core_is_platform(struct drm_device *dev) /* Driver support (drm_drv.h) */ extern int drm_init(struct drm_driver *driver); -extern int drm_platform_init(struct drm_driver *driver, struct platform_device *pdev); +extern int drm_platform_init(struct drm_driver *driver, + struct platform_device *pdev, + void *dev_private); extern void drm_exit(struct drm_driver *driver); extern int drm_ioctl(struct inode *inode, struct file *filp, unsigned int cmd, unsigned long arg); @@ -1262,7 +1264,7 @@ extern void drm_master_put(struct drm_master **master); extern int drm_get_dev(struct pci_dev *pdev, const struct pci_device_id *ent, struct drm_driver *driver); extern int drm_get_platform_dev(struct platform_device *pdev, - struct drm_driver *driver); + struct drm_driver *driver, void *priv); extern int drm_put_dev(struct drm_device *dev); extern int drm_put_minor(struct drm_minor **minor); extern unsigned int drm_debug; |