summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorRob Clark <robdclark@gmail.com>2014-02-04 20:16:04 +0100
committerRob Clark <robdclark@gmail.com>2014-03-31 16:27:46 +0200
commit4e1cbaa3eb1c051d330f0586045bb719a8b9a8ae (patch)
tree386054ebbc5fc712df65698fca2d12a6b2ef6377 /include
parentdrm/msm: crank down gpu when inactive (diff)
downloadlinux-4e1cbaa3eb1c051d330f0586045bb719a8b9a8ae.tar.xz
linux-4e1cbaa3eb1c051d330f0586045bb719a8b9a8ae.zip
drm/msm: add chip-id param
Some of the w/a or different behavior of userspace blob driver seem to be keyed to gpu patch revision, rather than gpu-id. So expose the full chip-id to userspace so it can DTRT. Signed-off-by: Rob Clark <robdclark@gmail.com>
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 d3c62074016d..bf91a78a0b0e 100644
--- a/include/uapi/drm/msm_drm.h
+++ b/include/uapi/drm/msm_drm.h
@@ -50,6 +50,7 @@ struct drm_msm_timespec {
#define MSM_PARAM_GPU_ID 0x01
#define MSM_PARAM_GMEM_SIZE 0x02
+#define MSM_PARAM_CHIP_ID 0x03
struct drm_msm_param {
uint32_t pipe; /* in, MSM_PIPE_x */