diff options
author | Thomas White <taw@bitwiz.org.uk> | 2009-06-11 16:28:49 +0100 |
---|---|---|
committer | Thomas White <taw@bitwiz.org.uk> | 2009-06-11 16:28:49 +0100 |
commit | d8e4b9ff4dc8bf57e53fa174f977c8fb00ec4e90 (patch) | |
tree | bc79de4a44ba183014c75f430c180e514e7b40e9 /include | |
parent | 3a83621f0e6a52eff7402702b0774092cc7b0187 (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 'include')
-rw-r--r-- | include/drm/glamo_drm.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 { |