linux/drivers/gpu/drm/amd/display
Wayne Lin 83a79dd6f4 drm/amd/display: adjust flow for deallocation mst payload
[Why]
MST relevant variables are maintained at drm side. As the result, we
still have to call drm_dp_remove_payload_part2() to update the relevant
values regardless the link is under mst mode or not. We used to have a
workaround patch to tackle this: commit 3d8fcc6740 ("drm/amd/display:
Extract temp drm mst deallocation wa into its own function")

Now it's time to remove the workaround and adjust the flow.

[How]
During deallocate_mst_payload(), source actually doesn't send out
ALLOCATE_PAYLOAD at the end as like the flow in allocate_mst_payload().
Call function dm_helpers_dp_mst_send_payload_allocation() at the end of
deallocate_mst_payload() is a bit confusing.

Separate dm_helpers_dp_mst_send_payload_allocation() into 2 functions.
Have a new function dm_helpers_dp_mst_update_mst_mgr_for_deallocation()
to replace dm_helpers_dp_mst_send_payload_allocation() for payload
deallocation.

Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Wenjing Liu <wenjing.liu@amd.com>
Acked-by: Hamza Mahfooz <hamza.mahfooz@amd.com>
Signed-off-by: Wayne Lin <wayne.lin@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2023-11-29 16:49:00 -05:00
..
amdgpu_dm drm/amd/display: adjust flow for deallocation mst payload 2023-11-29 16:49:00 -05:00
dc drm/amd/display: adjust flow for deallocation mst payload 2023-11-29 16:49:00 -05:00
dmub drm/amd/display: replay: Augment Frameupdate Command 2023-11-29 16:48:59 -05:00
include drm/amd/display: Add missing chips for HDCP 2023-11-17 09:30:50 -05:00
modules drm/amd/display: Send PQ bit in AMD VSIF 2023-11-17 09:30:50 -05:00
Kconfig drm/amd/display: Allow building DC with clang on RISC-V 2023-07-21 16:52:25 -04:00
Makefile drm/amd/display: Refactor DSC into component folder 2023-11-29 16:48:59 -05:00
TODO