aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSean Paul2018-05-02 14:17:44 -0500
committerandroid-build-merger2018-05-02 14:17:44 -0500
commit0fb967dea8a8e5205d9bab3af696bef7ae009bdd (patch)
treeee902e35ac53ce0c45249f8f73a95a1ffe42424c
parent27e2a4d2089b5e3cc11b905c472562b45056ea90 (diff)
parenta9e7af11efd8514dea2394ef45c72fe7f747a62d (diff)
downloadexternal-libdrm-0fb967dea8a8e5205d9bab3af696bef7ae009bdd.tar.gz
external-libdrm-0fb967dea8a8e5205d9bab3af696bef7ae009bdd.tar.xz
external-libdrm-0fb967dea8a8e5205d9bab3af696bef7ae009bdd.zip
libdrm: Add rotation property fields am: 7551405900
am: a9e7af11ef Change-Id: I661dfa858c52749f730d241222f576992aca0a42
-rw-r--r--include/drm/drm_mode.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/drm/drm_mode.h b/include/drm/drm_mode.h
index 5f9fadbd..74368de3 100644
--- a/include/drm/drm_mode.h
+++ b/include/drm/drm_mode.h
@@ -173,6 +173,19 @@ extern "C" {
173 DRM_MODE_REFLECT_X | \ 173 DRM_MODE_REFLECT_X | \
174 DRM_MODE_REFLECT_Y) 174 DRM_MODE_REFLECT_Y)
175 175
176
177/*
178 * Legacy definitions for old code that doesn't use
179 * the above mask definitions. Don't use in future code.
180 */
181/* rotation property bits */
182#define DRM_ROTATE_0 0
183#define DRM_ROTATE_90 1
184#define DRM_ROTATE_180 2
185#define DRM_ROTATE_270 3
186#define DRM_REFLECT_X 4
187#define DRM_REFLECT_Y 5
188
176/* Content Protection Flags */ 189/* Content Protection Flags */
177#define DRM_MODE_CONTENT_PROTECTION_UNDESIRED 0 190#define DRM_MODE_CONTENT_PROTECTION_UNDESIRED 0
178#define DRM_MODE_CONTENT_PROTECTION_DESIRED 1 191#define DRM_MODE_CONTENT_PROTECTION_DESIRED 1