projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f12a31
)
drm: Add DRM_ROTATE_MASK and DRM_REFLECT_MASK
author
Joonas Lahtinen
<
[email protected]
>
Thu, 1 Oct 2015 07:00:57 +0000
(10:00 +0300)
committer
Daniel Vetter
<
[email protected]
>
Mon, 5 Oct 2015 13:32:42 +0000
(15:32 +0200)
Makes it cleaner to separate the two from rotation variable.
Cc: Ville Syrjälä <
[email protected]
>
Signed-off-by: Joonas Lahtinen <
[email protected]
>
Reviewed-by: Ville Syrjälä <
[email protected]
>
Signed-off-by: Daniel Vetter <
[email protected]
>
include/drm/drm_crtc.h
patch
|
blob
|
history
diff --git
a/include/drm/drm_crtc.h
b/include/drm/drm_crtc.h
index 683f1421a8258c5b69ffc304007ef02d53645508..33ddedd3603871545cdcb009f9f48d08e88bb79a 100644
(file)
--- a/
include/drm/drm_crtc.h
+++ b/
include/drm/drm_crtc.h
@@
-86,10
+86,12
@@
static inline uint64_t I642U64(int64_t val)
}
/* rotation property bits */
+#define DRM_ROTATE_MASK 0x0f
#define DRM_ROTATE_0 0
#define DRM_ROTATE_90 1
#define DRM_ROTATE_180 2
#define DRM_ROTATE_270 3
+#define DRM_REFLECT_MASK (~DRM_ROTATE_MASK)
#define DRM_REFLECT_X 4
#define DRM_REFLECT_Y 5