diff options
author | Mikita Lipski <mikita.lipski@amd.com> | 2019-11-12 14:52:14 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2020-01-09 18:07:47 -0500 |
commit | 29b9ba74f6384a81594e479b3f1750868c72f356 (patch) | |
tree | 7f03a02ee24dea48b0d7754fbf83b85c084eaf61 /mm/zbud.c | |
parent | 34d95c3d5f687e4de8266bcdceb8b4694fe7105a (diff) |
drm/amd/display: Recalculate VCPI slots for new DSC connectors
[why]
Since for DSC MST connector's PBN is claculated differently
due to compression, we have to recalculate both PBN and
VCPI slots for that connector.
[how]
The function iterates through all the active streams to
find, which have DSC enabled, then recalculates PBN for
it and calls drm_dp_helper_update_vcpi_slots_for_dsc to
update connector's VCPI slots.
v2: - use drm_dp_mst_atomic_enable_dsc per port to
enable/disable DSC
v3: - Iterate through connector states from the state passed
- On each connector state get stream from dc_state,
instead CRTC state
Reviewed-by: Lyude Paul <lyude@redhat.com>
Signed-off-by: Mikita Lipski <mikita.lipski@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'mm/zbud.c')
0 files changed, 0 insertions, 0 deletions