git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ALSA: pcm: potential uninitialized return values
[pandora-kernel.git]
/
include
/
drm
/
drm_mode.h
diff --git
a/include/drm/drm_mode.h
b/include/drm/drm_mode.h
index
d30bedf
..
8f4ae68
100644
(file)
--- a/
include/drm/drm_mode.h
+++ b/
include/drm/drm_mode.h
@@
-184,6
+184,8
@@
struct drm_mode_get_connector {
__u32 connection;
__u32 mm_width, mm_height; /**< HxW in millimeters */
__u32 subpixel;
__u32 connection;
__u32 mm_width, mm_height; /**< HxW in millimeters */
__u32 subpixel;
+
+ __u32 pad;
};
#define DRM_MODE_PROP_PENDING (1<<0)
};
#define DRM_MODE_PROP_PENDING (1<<0)
@@
-235,6
+237,8
@@
struct drm_mode_fb_cmd {
#define DRM_MODE_FB_DIRTY_ANNOTATE_FILL 0x02
#define DRM_MODE_FB_DIRTY_FLAGS 0x03
#define DRM_MODE_FB_DIRTY_ANNOTATE_FILL 0x02
#define DRM_MODE_FB_DIRTY_FLAGS 0x03
+#define DRM_MODE_FB_DIRTY_MAX_CLIPS 256
+
/*
* Mark a region of a framebuffer as dirty.
*
/*
* Mark a region of a framebuffer as dirty.
*
@@
-275,8
+279,9
@@
struct drm_mode_mode_cmd {
struct drm_mode_modeinfo mode;
};
struct drm_mode_modeinfo mode;
};
-#define DRM_MODE_CURSOR_BO (1<<0)
-#define DRM_MODE_CURSOR_MOVE (1<<1)
+#define DRM_MODE_CURSOR_BO 0x01
+#define DRM_MODE_CURSOR_MOVE 0x02
+#define DRM_MODE_CURSOR_FLAGS 0x03
/*
* depending on the value in flags different members are used.
/*
* depending on the value in flags different members are used.