drm/msm: Allow hardware clock gating to be toggled
authorJordan Crouse <jcrouse@codeaurora.org>
Thu, 27 Jul 2017 16:42:31 +0000 (10:42 -0600)
committerRob Clark <robdclark@gmail.com>
Tue, 1 Aug 2017 23:10:28 +0000 (19:10 -0400)
commit6e749e5971fc7c7a33d7a673fbe4944604b397cf
tree2ebaaa6998acb42ef22814bf5eec1936ca14e67a
parent3394f5618dfe8e686a2429aad75edf7ff6540911
drm/msm: Allow hardware clock gating to be toggled

There are some use cases wherein we need to turn off hardware clock
gating before reading certain registers. Modify the A5XX HWCG function
to allow user to enable or disable clock gating at will.

Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/adreno/a5xx_gpu.c
drivers/gpu/drm/msm/adreno/a5xx_gpu.h