aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Kannan <arun.kannan@intel.com>2012-08-13 13:13:56 -0700
committerPatrick Tjin <pattjin@google.com>2014-07-21 22:05:30 -0700
commit44dcf9e392e11e586c6423fc5531d5359e5c3918 (patch)
treee0183db86c846a055b46d1cc65ff4f55906fcb0e
parent351411c5195eeda70c2ce20a2629bff6b63ca523 (diff)
downloadlibdrm-44dcf9e392e11e586c6423fc5531d5359e5c3918.tar.gz
[PORT FROM ICS]:Expose display mode aspect ratio flags to user-space.
BZ: 49783 In order to accurately inspect and then request a particular display mode, user-space needs to know information about aspect ratio. Change-Id: Iff59215352b627afc4ef04012c28e3ad02b88b4e Signed-off-by: Arun Kannan <arun.kannan@intel.com> Signed-off-by: lcgummad <latha.c.gummadi@intel.com> Reviewed-on: http://android.intel.com:8080/61918 Reviewed-by: Liu, Wei W <wei.w.liu@intel.com> Reviewed-by: Qiu, Junhai <junhai.qiu@intel.com> Reviewed-by: Dai, Yu <yu.dai@intel.com> Tested-by: Dai, Yu <yu.dai@intel.com> Tested-by: Tong, BoX <box.tong@intel.com> Reviewed-by: Tong, BoX <box.tong@intel.com> Reviewed-by: buildbot <buildbot@intel.com> Tested-by: buildbot <buildbot@intel.com>
-rw-r--r--shared-core/drm_mode.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/shared-core/drm_mode.h b/shared-core/drm_mode.h
index eee4f7e..b0170c5 100644
--- a/shared-core/drm_mode.h
+++ b/shared-core/drm_mode.h
@@ -56,6 +56,8 @@
#define DRM_MODE_FLAG_PIXMUX (1<<11)
#define DRM_MODE_FLAG_DBLCLK (1<<12)
#define DRM_MODE_FLAG_CLKDIV2 (1<<13)
+#define DRM_MODE_FLAG_PAR16_9 (1<<14)
+#define DRM_MODE_FLAG_PAR4_3 (1<<15)
/* DPMS flags */
/* bit compatible with the xorg definitions. */