]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amd/display: fix graphics hang in multi-display mst case
authorGabe Teeger <Gabe.Teeger@amd.com>
Fri, 23 Aug 2024 13:50:22 +0000 (09:50 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 2 Sep 2024 15:38:30 +0000 (11:38 -0400)
commitfc5da5c00c0a4880220f6f539293e49c766fb93d
treecad0ba33a612a5fa526633815b4bc63b4aa58634
parentefaf15752d113e81a5e9f25f57dc203f7c3007ab
drm/amd/display: fix graphics hang in multi-display mst case

[what]
Graphics hang observed with 3 displays connected to DP2.0 mst dock.

[why]
There's a mismatch in dml and dc between the assignments of hpo link
encoders.

[how]
Add a new array in dml that tracks the current mapping of HPO stream
encoders to HPO link encoders in dc.

Reviewed-by: Sung joon Kim <sungjoon.kim@amd.com>
Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Signed-off-by: Gabe Teeger <Gabe.Teeger@amd.com>
Signed-off-by: Hamza Mahfooz <hamza.mahfooz@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dml2/dml2_internal_types.h
drivers/gpu/drm/amd/display/dc/dml2/dml2_translation_helper.c
drivers/gpu/drm/amd/display/dc/dml2/dml2_translation_helper.h
drivers/gpu/drm/amd/display/dc/dml2/dml2_utils.c