OSDN Git Service

drm/msm: Remove 'src_clk' from adreno configuration
authorJordan Crouse <jcrouse@codeaurora.org>
Mon, 28 Nov 2016 19:28:31 +0000 (12:28 -0700)
committerRob Clark <robdclark@gmail.com>
Mon, 28 Nov 2016 20:14:13 +0000 (15:14 -0500)
commit89d777a572459d6ea726b609838beaef0c1b94a7
tree9cae8205ec1fc321aa3a61736bf1d9dc486b9bbb
parent05b9401bee13da14ea3d0b17eda6f0f89f6d455e
drm/msm: Remove 'src_clk' from adreno configuration

The adreno code inherited a silly workaround from downstream
from the bad old days before decent clock control. grp_clk[0]
(named 'src_clk') doesn't actually exist - it was used as a proxy
for whatever the core clock actually was (usually 'core_clk').

All targets should be able to correctly request 'core_clk' and
get the right thing back so zap the anachronism and directly
use grp_clk[0] to control the clock rate.

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