summaryrefslogtreecommitdiff
path: root/shared-core
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2007-12-05 16:31:35 +1000
committerDave Airlie <airlied@redhat.com>2007-12-05 16:31:35 +1000
commitc9cda51af5a8bea1d30ce575ae260de52950fe2f (patch)
tree727e6661e138ec3e67c43bfb140408888d3b7f4e /shared-core
parent1a6c95ef711fce807659ab5e4fe480d65ac233b6 (diff)
more WIP on blobs..
I'm going to pass back a list of blob ids and lengths in the getproperty. will need another ioctl to return the blob data as it is variable length.
Diffstat (limited to 'shared-core')
-rw-r--r--shared-core/drm.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/shared-core/drm.h b/shared-core/drm.h
index 6317f142..7649abd6 100644
--- a/shared-core/drm.h
+++ b/shared-core/drm.h
@@ -981,12 +981,13 @@ struct drm_mode_property_enum {
};
struct drm_mode_property_blob {
+ uint64_t data_ptr;
uint32_t length;
};
struct drm_mode_get_property {
- uint64_t values_ptr;
- uint64_t enum_blob_ptr;
+ uint64_t values_ptr; /* values and blob lengths */
+ uint64_t enum_blob_ptr; /* enum and blob id ptrs */
unsigned int prop_id;
unsigned int flags;