BACKPORT: drm/amd/display: Fix mst hub unplug warning
[Why] Unplug mst hub will cause warning. That's because dm_helpers_construct_old_payload() is changed to be called after payload removement from dc link. In dm_helpers_construct_old_payload(), We refer to the vcpi in payload allocation table of dc link to construct the old payload and payload is no longer in the table when we call the function now. [How] Refer to the mst_state to construct the number of time slot for old payload now. Note that dm_helpers_construct_old_payload() is just a quick workaround before and we are going to abandon it soon. Fixes: 5aa1dfcd ("drm/mst: Refactor the flow for payload allocation/removement") Reviewed-by:Jerry Zuo <jerry.zuo@amd.com> Signed-off-by:
Wayne Lin <Wayne.Lin@amd.com> Signed-off-by:
Alex Deucher <alexander.deucher@amd.com> Link: https://patchwork.freedesktop.org/patch/msgid/20231005080405.169841-1-Wayne.Lin@amd.com (cherry picked from commit 9031e001) Conflicts: drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c BUG=b:332903004, b:322223603 TEST=Verify the link training fallback for UHBR<->non-UHBR rates Change-Id: Iba94e057f8886256ab8e054719879daae5f151be Signed-off-by:
Rakshith M O <rakshith.m.o@intel.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/kernel/+/5802897 Reviewed-by:
Manasi Navare <navaremanasi@chromium.org> Signed-off-by:
Hubert Mazur <hmazur@google.com>
Loading
Please sign in to comment