summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJordan Crouse <jcrouse@codeaurora.org>2017-02-13 10:14:23 -0700
committerJordan Crouse <jcrouse@codeaurora.org>2017-02-22 09:52:19 -0700
commitb0dfb38811ed601bca0f52a2425fa4eae760f9aa (patch)
tree2203927f5fa1bdaf0e2dd22a3d01a814a1494fc9 /include
parentbe4fdb501e9209bd8ef5d625310dae94fb056a41 (diff)
drm/msm: Add a property for the GMEM base
Return the base address of GMEM in virtual address space as a parameter. Change-Id: Ic0dedbad3b849052313e4673efcf6c22bc81f21f Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
Diffstat (limited to 'include')
-rw-r--r--include/uapi/drm/msm_drm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/drm/msm_drm.h b/include/uapi/drm/msm_drm.h
index 587d35ce1638..20ef9bc424f3 100644
--- a/include/uapi/drm/msm_drm.h
+++ b/include/uapi/drm/msm_drm.h
@@ -54,6 +54,7 @@ struct drm_msm_timespec {
#define MSM_PARAM_CHIP_ID 0x03
#define MSM_PARAM_MAX_FREQ 0x04
#define MSM_PARAM_TIMESTAMP 0x05
+#define MSM_PARAM_GMEM_BASE 0x06
struct drm_msm_param {
__u32 pipe; /* in, MSM_PIPE_x */