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-private.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'drivers/mfd/glamo/glamo-drm-private.h') diff --git a/drivers/mfd/glamo/glamo-drm-private.h b/drivers/mfd/glamo/glamo-drm-private.h index 4cc5877e118..07ee1b1041b 100644 --- a/drivers/mfd/glamo/glamo-drm-private.h +++ b/drivers/mfd/glamo/glamo-drm-private.h @@ -61,6 +61,9 @@ struct glamodrm_handle { /* semaphore against concurrent ioctl */ struct semaphore add_to_ring; + + /* Front buffer kludge */ + uint32_t front_buffer_handle; }; /* Private data. This is where we keep our memory management bits */ -- cgit v1.2.3