Home
last modified time | relevance | path

Searched hist:fc041428 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/gpu/drm/vc4/
H A Dvc4_kms.cfc041428 Thu Oct 27 07:52:47 CDT 2022 Maxime Ripard <maxime@cerno.tech> drm/vc4: Make sure we don't end up with a core clock too high

Following the clock rate range improvements to the clock framework,
trying to set a disjoint range on a clock will now result in an error.

Thus, we can't set a minimum rate higher than the maximum reported by
the firmware, or clk_set_min_rate() will fail.

Thus we need to clamp the rate we are about to ask for to the maximum
rate possible on that clock.

Reviewed-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
Link: https://lore.kernel.org/r/20220815-rpi-fix-4k-60-v5-7-fe9e7ac8b111@cerno.tech
Signed-off-by: Maxime Ripard <maxime@cerno.tech>