diff options
author | Wayne Lin <Wayne.Lin@amd.com> | 2023-10-05 10:04:05 +0200 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-10-05 18:04:02 +0200 |
commit | 9031e0013f819ca697a65046e5b86cd1a21b86ea (patch) | |
tree | c1fb0d66fd1a5619d74854c66efb8f38736e49d0 /include/drm | |
parent | drm/panel: nv3051d: Add Support for Anbernic 351V (diff) | |
download | linux-9031e0013f819ca697a65046e5b86cd1a21b86ea.tar.xz linux-9031e0013f819ca697a65046e5b86cd1a21b86ea.zip |
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: 5aa1dfcdf0a4 ("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
Diffstat (limited to 'include/drm')
0 files changed, 0 insertions, 0 deletions