drm/msm/adreno: Prevent unclocked access when retrieving timestamps
authorArchit Taneja <architt@codeaurora.org>
Fri, 28 Jul 2017 10:47:08 +0000 (16:17 +0530)
committerRob Clark <robdclark@gmail.com>
Tue, 1 Aug 2017 23:20:13 +0000 (19:20 -0400)
commit541de4c9c953438b677c31072e7762115ac11299
tree924c860581fe9f3fcfaab7da7dbcf661e5f78397
parentcdbc78ba702650b02b9e3e957dbaa725423bdf1e
drm/msm/adreno: Prevent unclocked access when retrieving timestamps

msm_gpu's get_timestamp() op (called by the MSM_GET_PARAM ioctl) can
result in register accesses. We need our power domain and clocks to
be active for that. Make sure they are enabled here.

Signed-off-by: Archit Taneja <architt@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/adreno/adreno_gpu.c