]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/mediatek: mtk_hdmi: Move N/CTS setting to new function
authorAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Tue, 15 Apr 2025 10:43:09 +0000 (12:43 +0200)
committerChun-Kuang Hu <chunkuang.hu@kernel.org>
Mon, 21 Apr 2025 13:40:02 +0000 (13:40 +0000)
commit7837702058a16676cf0b0e0a83babe3cb0552cb0
tree9caa40bd705e4e0533299cc4bff764caa4bc54b7
parentc92493e3074478c9c9dc4b5ba2f59cf5e4836bb9
drm/mediatek: mtk_hdmi: Move N/CTS setting to new function

In preparation for splitting common bits of this driver, moving
the hdmi_rec_n_table struct array, and the hdmi_recommended_n(),
hdmi_mode_clock_to_hz(), hdmi_expected_cts() functions, add one
function called mtk_hdmi_get_ncts() that sets both N and CTS in
a single call.

Reviewed-by: CK Hu <ck.hu@mediatek.com>
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://patchwork.kernel.org/project/dri-devel/patch/20250415104321.51149-12-angelogioacchino.delregno@collabora.com/
Signed-off-by: Chun-Kuang Hu <chunkuang.hu@kernel.org>
drivers/gpu/drm/mediatek/mtk_hdmi.c