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 --- include/drm/glamo_drm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/drm/glamo_drm.h b/include/drm/glamo_drm.h index c14873d6527..147415f5cbe 100644 --- a/include/drm/glamo_drm.h +++ b/include/drm/glamo_drm.h @@ -75,8 +75,8 @@ typedef struct drm_glamo_cmd_buffer { } drm_glamo_cmd_buffer_t; struct drm_glamo_gem_info { - uint64_t vram_start; uint64_t vram_size; + uint32_t front_buffer_handle; }; struct drm_glamo_gem_create { -- cgit v1.2.3