drm/rockchip: vop2: fix rk3588 dp+dsi maxclk verification
From: Heiko Stuebner <heiko.stuebner@...> Date: Sun, 24 Dec 2023 19:31:28 +0100
Commit-Message
The clock is in Hz while the value checked against is in kHz, so actual frequencies will never be able to be below to max value. Fix this by specifying the max-value in Hz too. Fixes: 5a028e8f062f ("drm/rockchip: vop2: Add support for rk3588") Signed-off-by: Heiko Stuebner <heiko.stuebner@...> Reviewed-by: Quentin Schulz <quentin.schulz@...> Acked-by: Andy Yan<andyshrk@...>
Patch-Comment
changes in v2: - drop the separate vp3-config patch, as vp3 will always get the leftover resources, so _should_ be fine (Andy) - fix error output to also report Hz for the value in Hz (Quentin) - add received Reviews+Acks drivers/gpu/drm/rockchip/rockchip_drm_vop2.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
Statistics
- 4 lines added
- 4 lines removed