linux/drivers/gpu/drm/amd
Wayne Lin 9031e0013f 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: 5aa1dfcdf0 ("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
History 2023-10-05 12:04:02 -04:00
..
acp drm: amd/acp: fix broken menu structure 2020-03-13 11:52:35 -04:00
amdgpu drm/amdgpu/discovery: Annotate struct ip_hw_instance with __counted_by 2023-10-05 11:29:09 +02:00
amdkfd drm-misc-next for v6.6: 2023-07-17 15:37:57 +02:00
amdxcp drm/amdxcp: fix Makefile to build amdxcp module 2023-06-09 12:32:53 -04:00
display drm/amd/display: Fix mst hub unplug warning 2023-10-05 12:04:02 -04:00
include drm/amdgpu: add the accelerator PCIe class 2023-06-09 12:48:57 -04:00
pm drm/amd/pm: Annotate struct smu10_voltage_dependency_table with __counted_by 2023-10-05 11:29:03 +02:00