mbox series

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

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

Message

Fangzhi Zuo Nov. 6, 2024, 3:03 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.

v2: split original single patch into two
v3: rebase against the latest code

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   |  28 +-
 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, 144 insertions(+), 178 deletions(-)