drm/bridge: sii902x: Add pixel clock check in atomic_check
authorJayesh Choudhary <j-choudhary@ti.com>
Thu, 13 Jun 2024 08:38:05 +0000 (14:08 +0530)
committerMaxime Ripard <mripard@kernel.org>
Thu, 13 Jun 2024 15:36:44 +0000 (17:36 +0200)
commit9324410846e13595d453b7f34508b1f6b15fb1a7
treef93e0db87c7b45b7fc4e6adf999d2a017f9c03ec
parent96fddae126327a87bf67edfa8a1c94ce21c18dfe
drm/bridge: sii902x: Add pixel clock check in atomic_check

Check the pixel clock for the mode in atomic_check and ensure that
it is within the range supported by the bridge.

Signed-off-by: Jayesh Choudhary <j-choudhary@ti.com>
Reviewed-by: Aradhya Bhatia <a-bhatia1@ti.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20240613083805.439337-4-j-choudhary@ti.com
Signed-off-by: Maxime Ripard <mripard@kernel.org>
drivers/gpu/drm/bridge/sii902x.c