aboutsummaryrefslogtreecommitdiff
path: root/drivers/mfd/glamo/glamo-drm-private.h
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-private.h
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-private.h')
-rw-r--r--drivers/mfd/glamo/glamo-drm-private.h3
1 files changed, 3 insertions, 0 deletions
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 */