summaryrefslogtreecommitdiff
path: root/rust/helpers/helpers.c
diff options
context:
space:
mode:
authorAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>2025-02-17 18:47:58 +0300
committerChun-Kuang Hu <chunkuang.hu@kernel.org>2025-03-02 14:03:04 +0300
commit8c9da7cd0bbcc90ab444454fecf535320456a312 (patch)
treebe4602fb1bb8ec7a24e8ccab3e898a2f612f18b2 /rust/helpers/helpers.c
parent41180dedcfa36768e2e8e8c7c113c964d252d0a5 (diff)
downloadlinux-8c9da7cd0bbcc90ab444454fecf535320456a312.tar.xz
drm/mediatek: mtk_dpi: Add checks for reg_h_fre_con existence
In preparation for adding support for newer DPI instances which do support direct-pin but do not have any H_FRE_CON register, like the one found in MT8195 and MT8188, add a branch to check if the reg_h_fre_con variable was declared in the mtk_dpi_conf structure for the probed SoC DPI version. As a note, this is useful specifically only for cases in which the support_direct_pin variable is true, so mt8195-dpintf is not affected by any issue. 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-6-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