projects
/
profile
/
ivi
/
libdrm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
1ead45c
)
mode: Unify userspace API to uint_t
author
Jakob Bornecrantz
<jakob@tungstengraphics.com>
Wed, 12 Nov 2008 17:49:46 +0000
(18:49 +0100)
committer
Jakob Bornecrantz
<jakob@tungstengraphics.com>
Wed, 12 Nov 2008 17:50:05 +0000
(18:50 +0100)
libdrm/xf86drmMode.h
patch
|
blob
|
history
diff --git
a/libdrm/xf86drmMode.h
b/libdrm/xf86drmMode.h
index
ee45717
..
b68d146
100644
(file)
--- a/
libdrm/xf86drmMode.h
+++ b/
libdrm/xf86drmMode.h
@@
-77,8
+77,8
@@
typedef struct _drmModePropertyBlob {
} drmModePropertyBlobRes, *drmModePropertyBlobPtr;
typedef struct _drmModeProperty {
} drmModePropertyBlobRes, *drmModePropertyBlobPtr;
typedef struct _drmModeProperty {
- u
nsigned in
t prop_id;
- u
nsigned in
t flags;
+ u
int32_
t prop_id;
+ u
int32_
t flags;
char name[DRM_PROP_NAME_LEN];
int count_values;
uint64_t *values; // store the blob lengths
char name[DRM_PROP_NAME_LEN];
int count_values;
uint64_t *values; // store the blob lengths
@@
-89,8
+89,8
@@
typedef struct _drmModeProperty {
} drmModePropertyRes, *drmModePropertyPtr;
typedef struct _drmModeCrtc {
} drmModePropertyRes, *drmModePropertyPtr;
typedef struct _drmModeCrtc {
- u
nsigned in
t crtc_id;
- u
nsigned in
t buffer_id; /**< FB id to connect to 0 = disconnect */
+ u
int32_
t crtc_id;
+ u
int32_
t buffer_id; /**< FB id to connect to 0 = disconnect */
uint32_t x, y; /**< Position on the framebuffer */
uint32_t width, height;
uint32_t x, y; /**< Position on the framebuffer */
uint32_t width, height;
@@
-102,9
+102,9
@@
typedef struct _drmModeCrtc {
} drmModeCrtc, *drmModeCrtcPtr;
typedef struct _drmModeEncoder {
} drmModeCrtc, *drmModeCrtcPtr;
typedef struct _drmModeEncoder {
- u
nsigned in
t encoder_id;
- u
nsigned in
t encoder_type;
- u
nsigned in
t crtc_id;
+ u
int32_
t encoder_id;
+ u
int32_
t encoder_type;
+ u
int32_
t crtc_id;
uint32_t possible_crtcs;
uint32_t possible_clones;
} drmModeEncoder, *drmModeEncoderPtr;
uint32_t possible_crtcs;
uint32_t possible_clones;
} drmModeEncoder, *drmModeEncoderPtr;
@@
-125,10
+125,10
@@
typedef enum {
} drmModeSubPixel;
typedef struct _drmModeConnector {
} drmModeSubPixel;
typedef struct _drmModeConnector {
- u
nsigned in
t connector_id;
- u
nsigned in
t encoder_id; /**< Encoder currently connected to */
- u
nsigned in
t connector_type;
- u
nsigned in
t connector_type_id;
+ u
int32_
t connector_id;
+ u
int32_
t encoder_id; /**< Encoder currently connected to */
+ u
int32_
t connector_type;
+ u
int32_
t connector_type_id;
drmModeConnection connection;
uint32_t mmWidth, mmHeight; /**< HxW in millimeters */
drmModeSubPixel subpixel;
drmModeConnection connection;
uint32_t mmWidth, mmHeight; /**< HxW in millimeters */
drmModeSubPixel subpixel;