]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/rockchip: vop2: fix rk3588 dp+dsi maxclk verification
authorHeiko Stuebner <heiko.stuebner@cherry.de>
Fri, 15 Nov 2024 15:11:31 +0000 (16:11 +0100)
committerHeiko Stuebner <heiko@sntech.de>
Thu, 28 Nov 2024 21:07:18 +0000 (22:07 +0100)
commit5807f4ee6d32a4cce9a4df36f0d455c64c861947
tree00d7b31853c3ef5db67fa7df389d5bdfd9db6182
parent822ba16048a1d18c5e6db3d85d053ff31d403014
drm/rockchip: vop2: fix rk3588 dp+dsi maxclk verification

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@cherry.de>
Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
Acked-by: Andy Yan <andyshrk@163.com>
Reviewed-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Tested-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20241115151131.416830-1-heiko@sntech.de
drivers/gpu/drm/rockchip/rockchip_drm_vop2.c