summaryrefslogtreecommitdiff
path: root/libdrm/xf86drmMode.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2007-12-05 16:03:05 +1000
committerDave Airlie <airlied@redhat.com>2007-12-05 16:03:05 +1000
commit1a6c95ef711fce807659ab5e4fe480d65ac233b6 (patch)
treec50176cc24a94b527a623b99caa9896cb4a4350f /libdrm/xf86drmMode.h
parentf7432d187e4b5e13c9e450bf12d5ab8c18ea5146 (diff)
arrgggh.. make all ioctl structs 32/64-bit compatible hopefully.
This also starts to add blob property support. someone needs to check this work for other things like ppc/x86 alignment diffs
Diffstat (limited to 'libdrm/xf86drmMode.h')
-rw-r--r--libdrm/xf86drmMode.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/libdrm/xf86drmMode.h b/libdrm/xf86drmMode.h
index a1d717f9..ec77174b 100644
--- a/libdrm/xf86drmMode.h
+++ b/libdrm/xf86drmMode.h
@@ -63,6 +63,8 @@ typedef struct _drmModeRes {
int count_outputs;
uint32_t *outputs;
+ uint32_t min_width, max_width;
+ uint32_t min_height, max_height;
} drmModeRes, *drmModeResPtr;
typedef struct drm_mode_fb_cmd drmModeFB, *drmModeFBPtr;
@@ -72,7 +74,7 @@ typedef struct _drmModeProperty {
unsigned int flags;
unsigned char name[DRM_PROP_NAME_LEN];
int count_values;
- uint32_t *values;
+ uint64_t *values;
int count_enums;
struct drm_mode_property_enum *enums;
@@ -132,7 +134,7 @@ typedef struct _drmModeOutput {
int count_props;
uint32_t *props; /**< List of property ids */
- uint32_t *prop_values; /**< List of property values */
+ uint64_t *prop_values; /**< List of property values */
} drmModeOutput, *drmModeOutputPtr;