]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/mediatek: dp: Add sdp path reset
authorLiankun Yang <liankun.yang@mediatek.com>
Thu, 28 Nov 2024 02:37:21 +0000 (10:37 +0800)
committerChun-Kuang Hu <chunkuang.hu@kernel.org>
Wed, 25 Dec 2024 13:34:41 +0000 (13:34 +0000)
commit4f0d4a8218914da9e3bd56ec2cfb7a644472213d
tree449c5480a5fd8a2efbedd5ff03651659d083cf2f
parent40384c840ea1944d7c5a392e8975ed088ecf0b37
drm/mediatek: dp: Add sdp path reset

When using type-c to type-c to connect to the monitor,
the sound plays normally. If you unplug the type-c and
connect the type-c to hdmi dongle to the monitor, there will be noise.

By capturing the audio data, it is found that
the data position is messy, and there is no error in the data.

Through experiments, it can be restored by resetting the SDP path
when unplugging it.

Signed-off-by: Liankun Yang <liankun.yang@mediatek.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Reviewed-by: CK Hu <ck.hu@mediatek.com>
Link: https://patchwork.kernel.org/project/dri-devel/patch/20241128023733.16294-1-liankun.yang@mediatek.com/
Signed-off-by: Chun-Kuang Hu <chunkuang.hu@kernel.org>
drivers/gpu/drm/mediatek/mtk_dp.c
drivers/gpu/drm/mediatek/mtk_dp_reg.h