drm/vc4: Increase the core clock based on HVS load

Depending on a given HVS output (HVS to PixelValves) and input (planes
attached to a channel) load, the HVS needs for the core clock to be
raised above its boot time default.

Failing to do so will result in a vblank timeout and a stalled display
pipeline.

Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Reviewed-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
Link: https://lore.kernel.org/r/20211025152903.1088803-11-maxime@cerno.tech
This commit is contained in:
Maxime Ripard 2021-10-25 17:29:03 +02:00
commit 16e101051f
No known key found for this signature in database
GPG key ID: E3EF0D6F671851C5
3 changed files with 118 additions and 9 deletions