mbox series

[v2,0/2] Refactor MST DSC Determination Policy

Message ID 20241101212546.4060-1-Jerry.Zuo@amd.com (mailing list archive)
Headers show
Series Refactor MST DSC Determination Policy | expand

Message

Fangzhi Zuo Nov. 1, 2024, 9:24 p.m. UTC
The patch series is to refactor existing dsc determination policy for
dsc decompression and dsc passthrough given a mst output port.

Original routine was written based on different peer device types
which is not accurate and shows difficulty when expanding support of
products that do not fully comply with DP specs.

To make the routine more accurate and generic, the series includes below changes:
1. Refactor MST DSC determination policy solely based on
   topology connection status and dsc dpcd capability info.
2. Dependency changes required for each vendor due to interface change.

Fangzhi Zuo (2):
  drm/display/dsc: Refactor DRM MST DSC Determination Policy
  drm/display/dsc: MST DSC Interface Change

 .../amd/display/amdgpu_dm/amdgpu_dm_debugfs.c |   2 +-
 .../amd/display/amdgpu_dm/amdgpu_dm_helpers.c |  20 +-
 .../display/amdgpu_dm/amdgpu_dm_mst_types.c   |  30 +-
 drivers/gpu/drm/display/drm_dp_mst_topology.c | 258 ++++++++----------
 drivers/gpu/drm/i915/display/intel_dp.c       |   2 +-
 drivers/gpu/drm/i915/display/intel_dp_mst.c   |   3 +-
 include/drm/display/drm_dp_mst_helper.h       |   9 +-
 7 files changed, 145 insertions(+), 179 deletions(-)