aboutsummaryrefslogtreecommitdiff
path: root/include/drm/glamo_drm.h
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2009-04-27 00:03:39 +0100
committerThomas White <taw@bitwiz.org.uk>2009-04-27 00:03:39 +0100
commit606179ac4f81f708aeddaa0320ca7db28ba7c476 (patch)
tree70bd47ab52c47d9861d839d21966d34b764de74a /include/drm/glamo_drm.h
parentc537af849a1acd1a4c6f404e33439c42acd44c99 (diff)
Kernel handling of command queue
This adds handling of Glamo's ring buffer at the kernel level, to be accessed via ioctl DRM_GLAMO_CMDBUF. Signed-off-by: Thomas White <taw@bitwiz.org.uk>
Diffstat (limited to 'include/drm/glamo_drm.h')
-rw-r--r--include/drm/glamo_drm.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/include/drm/glamo_drm.h b/include/drm/glamo_drm.h
index 706c350bd14..2b0a81146d5 100644
--- a/include/drm/glamo_drm.h
+++ b/include/drm/glamo_drm.h
@@ -65,19 +65,15 @@
#define DRM_IOCTL_GLAMO_GEM_WAIT_RENDERING DRM_IOW(DRM_COMMAND_BASE + DRM_GLAMO_GEM_WAIT_RENDERING, struct drm_glamo_gem_wait_rendering)
typedef struct drm_glamo_cmd_buffer {
- int bufsz;
- char __user *buf;
+ int bufsz; /* Size of buffer, in bytes */
+ char __user *buf; /* Buffer of stuff to go onto the ring buffer */
int nbox;
struct drm_clip_rect __user *boxes;
} drm_glamo_cmd_buffer_t;
-/* return to userspace start/size of gtt and vram apertures */
struct drm_glamo_gem_info {
- uint64_t gart_start;
- uint64_t gart_size;
uint64_t vram_start;
uint64_t vram_size;
- uint64_t vram_visible;
};
struct drm_glamo_gem_create {
@@ -85,8 +81,7 @@ struct drm_glamo_gem_create {
uint64_t alignment;
uint32_t handle;
uint32_t initial_domain; // to allow VRAM to be created
- uint32_t no_backing_store; // for VRAM objects - select whether they need backing store
- // pretty much front/back/depth don't need it - other things do
+ uint32_t no_backing_store;
};
struct drm_glamo_gem_mmap {