drm/msm/mdp5: get the core clock rate from MDP5 config
authorStephane Viau <sviau@codeaurora.org>
Mon, 17 Nov 2014 18:39:34 +0000 (13:39 -0500)
committerRob Clark <robdclark@gmail.com>
Fri, 21 Nov 2014 13:56:18 +0000 (08:56 -0500)
commit3f307963fc07953b56b51b18ed47416bf340320f
tree577af5a82652a10d30dd6cdbb206b7611be0177e
parentf6a8eaca0ea10fc5c5ae0d6b0067759164e633a0
drm/msm/mdp5: get the core clock rate from MDP5 config

The core clock rate depends on the hw configuration. Once we have
read the hardware revision, we can set the core clock to its
maximum value.
Before then, the clock is set at a rate supported by all MDP5
revisions.

Signed-off-by: Stephane Viau <sviau@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/mdp/mdp5/mdp5_kms.c
drivers/gpu/drm/msm/mdp/mdp5/mdp5_kms.h