diff options
author | AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> | 2025-02-17 18:47:57 +0300 |
---|---|---|
committer | Chun-Kuang Hu <chunkuang.hu@kernel.org> | 2025-03-02 14:00:32 +0300 |
commit | 41180dedcfa36768e2e8e8c7c113c964d252d0a5 (patch) | |
tree | 4e8fc6fb1602881f5b6b18cd279aec4bcff3c739 /rust/helpers/helpers.c | |
parent | 9f163874b30ab8cd74d3858f557d0be52d3b1969 (diff) | |
download | linux-41180dedcfa36768e2e8e8c7c113c964d252d0a5.tar.xz |
drm/mediatek: mtk_dpi: Move pixel clock setting flow to function
In preparation for adding support for the DPI IP found in MT8195
and in MT8188 used for HDMI, move the code flow for calculation
and setting of the DPI pixel clock to a separate function called
mtk_dpi_set_pixel_clk().
This was done because, on those platforms, the DPI instance that
is used for HDMI will get its pixel clock from the HDMI clock,
hence it is not necessary, nor desirable, to calculate or set
the pixel clock in DPI.
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/20250217154836.108895-5-angelogioacchino.delregno@collabora.com/
Signed-off-by: Chun-Kuang Hu <chunkuang.hu@kernel.org>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions