From d8e4b9ff4dc8bf57e53fa174f977c8fb00ec4e90 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Thu, 11 Jun 2009 16:28:49 +0100 Subject: 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 --- drivers/mfd/glamo/glamo-drm-drv.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'drivers/mfd/glamo/glamo-drm-drv.c') 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) { -- cgit v1.2.3