drm/vc4: kms: Avoid setting core and disp clocks for hdmi modes
authorDom Cobley <popcornmix@gmail.com>
Mon, 17 Jul 2023 16:45:32 +0000 (17:45 +0100)
committerDom Cobley <popcornmix@gmail.com>
Mon, 19 Feb 2024 11:35:01 +0000 (11:35 +0000)
commit1300c2cce2b93291314aa830e5dd08b222859e6d
tree888ac1b078b41c930c1b6ca76331397d296764a3
parente785300053746ec130f6b38d44988db6be766d60
drm/vc4: kms: Avoid setting core and disp clocks for hdmi modes

On 2712, the firmware always runs these clock at a speed sufficient
for dual 4kp60.

The requests here prevent the gpu from going into its lowest voltage
mode, so just skip the clock requests.

With this applied the idle voltage on my pi 5 reduces from 0.7424V
to 0.72V.

Signed-off-by: Dom Cobley <popcornmix@gmail.com>
drivers/gpu/drm/vc4/vc4_kms.c