summaryrefslogtreecommitdiff
path: root/freedreno/msm
diff options
context:
space:
mode:
authorRob Clark <robclark@freedesktop.org>2016-02-10 12:26:20 -0500
committerRob Clark <robclark@freedesktop.org>2016-02-12 18:32:22 -0500
commitc47385ccdae1d3a461e35c558af34431f10c83e2 (patch)
treeb5a3232bc46ee5fc6282e1e83e359047adb0adef /freedreno/msm
parentf884af9b57ff480d3c87870d8b40055d9c8c6cfe (diff)
freedreno: update uapi
In drm-next.. needed for time-elapsed (and future perf ctrs) in mesa. Signed-off-by: Rob Clark <robclark@freedesktop.org>
Diffstat (limited to 'freedreno/msm')
-rw-r--r--freedreno/msm/msm_drm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/freedreno/msm/msm_drm.h b/freedreno/msm/msm_drm.h
index f7474c59..baf505ce 100644
--- a/freedreno/msm/msm_drm.h
+++ b/freedreno/msm/msm_drm.h
@@ -58,6 +58,7 @@ struct drm_msm_timespec {
#define MSM_PARAM_GPU_ID 0x01
#define MSM_PARAM_GMEM_SIZE 0x02
#define MSM_PARAM_CHIP_ID 0x03
+#define MSM_PARAM_MAX_FREQ 0x04
struct drm_msm_param {
uint32_t pipe; /* in, MSM_PIPE_x */