summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/vc4/vc4_regs.h
diff options
context:
space:
mode:
authorMaxime Ripard <maxime@cerno.tech>2022-03-31 16:37:38 +0200
committerMaxime Ripard <maxime@cerno.tech>2022-04-06 15:18:01 +0200
commit748acfc98adab21a93ae7a1b5bed0f048463e873 (patch)
tree3639e8cb3576912620f16cad3928161dfd4abcd2 /drivers/gpu/drm/vc4/vc4_regs.h
parentfd5894fa2413cca3e6a3ea713b2bd57281af2e86 (diff)
drm/vc4: kms: Take old state core clock rate into account
During a commit, the core clock, which feeds the HVS, needs to run at a minimum of 500MHz. While doing that commit, we can also change the mode to one that requires a higher core clock, so we take the core clock rate associated to that new state into account for that boost. However, the old state also needs to be taken into account if it requires a core clock higher that the new one and our 500MHz limit, since it's still live in hardware at the beginning of our commit. Fixes: 16e101051f32 ("drm/vc4: Increase the core clock based on HVS load") Signed-off-by: Maxime Ripard <maxime@cerno.tech> Acked-by: Thomas Zimmermann <tzimmermann@suse.de> Link: https://lore.kernel.org/r/20220331143744.777652-2-maxime@cerno.tech
Diffstat (limited to 'drivers/gpu/drm/vc4/vc4_regs.h')
0 files changed, 0 insertions, 0 deletions