[PATCH v2 0/4] drm/dp_mst: Fix bandwidth checking regressions from DSC patches

From: Lyude Paul
Date: Fri Mar 06 2020 - 18:46:50 EST


AMD's patch series for adding DSC support to the MST helpers
unfortunately introduced a few regressions into the kernel that I didn't
get around to fixing until just now. I would have reverted the changes
earlier, but seeing as that would have reverted all of amd's DSC support
+ everything that was done on top of that I realllllly wanted to avoid
doing that.

Anyway, this should fix everything bandwidth-check related as far as I
can tell (I found some other regressions unrelated to AMD's DSC patches
which I'll be sending out patches for shortly). Note that I don't have
any DSC displays locally yet, so if someone from AMD could sanity check
this I would appreciate it â.

Cc: Mikita Lipski <mikita.lipski@xxxxxxx>
Cc: Alex Deucher <alexander.deucher@xxxxxxx>
Cc: Sean Paul <seanpaul@xxxxxxxxxx>
Cc: Hans de Goede <hdegoede@xxxxxxxxxx>

Lyude Paul (4):
drm/dp_mst: Rename drm_dp_mst_is_dp_mst_end_device() to be less
redundant
drm/dp_mst: Use full_pbn instead of available_pbn for bandwidth checks
drm/dp_mst: Reprobe path resources in CSN handler
drm/dp_mst: Rewrite and fix bandwidth limit checks

drivers/gpu/drm/drm_dp_mst_topology.c | 185 ++++++++++++++++++--------
include/drm/drm_dp_mst_helper.h | 4 +-
2 files changed, 129 insertions(+), 60 deletions(-)

--
2.24.1