aboutsummaryrefslogtreecommitdiff
path: root/drivers/mfd/glamo/glamo-drm-drv.c
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2009-06-11 16:28:49 +0100
committerThomas White <taw@bitwiz.org.uk>2009-06-11 16:28:49 +0100
commitd8e4b9ff4dc8bf57e53fa174f977c8fb00ec4e90 (patch)
treebc79de4a44ba183014c75f430c180e514e7b40e9 /drivers/mfd/glamo/glamo-drm-drv.c
parent3a83621f0e6a52eff7402702b0774092cc7b0187 (diff)
Front buffer kludge
This makes the GEM "info" ioctl produce an object handle which can be used to refer to the front buffer (i.e. screen pixmap) in Xorg or otherwise. This is unfortunately necessary since this memory is allocated in the kernel by the framebuffer driver, and is not available to DRM until we move to KMS. Signed-off-by: Thomas White <taw@bitwiz.org.uk>
Diffstat (limited to 'drivers/mfd/glamo/glamo-drm-drv.c')
-rw-r--r--drivers/mfd/glamo/glamo-drm-drv.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/mfd/glamo/glamo-drm-drv.c b/drivers/mfd/glamo/glamo-drm-drv.c
index 856622d9e76..c5929aa48eb 100644
--- a/drivers/mfd/glamo/glamo-drm-drv.c
+++ b/drivers/mfd/glamo/glamo-drm-drv.c
@@ -49,14 +49,6 @@ static int glamo_ioctl_swap(struct drm_device *dev, void *data,
}
-static int glamo_ioctl_gem_info(struct drm_device *dev, void *data,
- struct drm_file *file_priv)
-{
- printk(KERN_INFO "glamo_ioctl_gem_info\n");
- return 0;
-}
-
-
static int glamo_ioctl_gem_wait_rendering(struct drm_device *dev, void *data,
struct drm_file *file_priv)
{