projects
/
platform
/
upstream
/
libdrm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af118cd
)
libdrm: fix ABI change in drm_mode_get_encoder
author
Jesse Barnes
<jbarnes@virtuousgeek.org>
Wed, 29 Oct 2008 19:17:39 +0000
(12:17 -0700)
committer
Jesse Barnes
<jbarnes@virtuousgeek.org>
Wed, 29 Oct 2008 19:18:15 +0000
(12:18 -0700)
The encoder_type field should be at the top to match the kernel.
shared-core/drm_mode.h
patch
|
blob
|
history
diff --git
a/shared-core/drm_mode.h
b/shared-core/drm_mode.h
index
0c378f4
..
bd3d257
100644
(file)
--- a/
shared-core/drm_mode.h
+++ b/
shared-core/drm_mode.h
@@
-126,10
+126,10
@@
struct drm_mode_crtc {
#define DRM_MODE_ENCODER_TVDAC 4
struct drm_mode_get_encoder {
+ unsigned int encoder_type;
unsigned int encoder_id;
- unsigned int crtc_id; /**< Id of crtc */
- u
int32_t encoder_type;
+ u
nsigned int crtc_id; /**< Id of crtc */
uint32_t possible_crtcs;
uint32_t possible_clones;