summaryrefslogtreecommitdiff
path: root/include/uapi
diff options
context:
space:
mode:
authorAlan Kwong <akwong@codeaurora.org>2016-07-29 04:10:00 -0400
committerAlan Kwong <akwong@codeaurora.org>2016-08-04 11:39:24 -0400
commit35913d45a4b2313ee514443c03366e83a523235d (patch)
tree03a5d030da514d1f775aef2f50aa4dc7afdfef0f /include/uapi
parent78910c8d3c109a14f2697d389d5422e80bdb3126 (diff)
drm/msm/sde: add smmu domain selection logic to connector
Add selection logic to choose smmu domain based on framebuffer secure flag and vbif memory mapped setting. This allows output buffer, attached to connector, be mapped to the correct smmu context bank. Change-Id: Ie5f6e2da0e34b77d68bd0fdcab82c5bd118c747d Signed-off-by: Alan Kwong <akwong@codeaurora.org>
Diffstat (limited to 'include/uapi')
-rw-r--r--include/uapi/drm/drm_mode.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/drm/drm_mode.h b/include/uapi/drm/drm_mode.h
index 566a2dd3babe..09c22caf34dd 100644
--- a/include/uapi/drm/drm_mode.h
+++ b/include/uapi/drm/drm_mode.h
@@ -355,6 +355,7 @@ struct drm_mode_fb_cmd {
#define DRM_MODE_FB_INTERLACED (1<<0) /* for interlaced framebuffers */
#define DRM_MODE_FB_MODIFIERS (1<<1) /* enables ->modifer[] */
+#define DRM_MODE_FB_SECURE (1<<2) /* for secure framebuffers */
struct drm_mode_fb_cmd2 {
__u32 fb_id;