From 606179ac4f81f708aeddaa0320ca7db28ba7c476 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Mon, 27 Apr 2009 00:03:39 +0100 Subject: 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 --- include/drm/drmP.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'include/drm/drmP.h') 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; -- cgit v1.2.3