[PATCH 0/6] Fix legacy DPMS changes with MST

Lyude Paul
2018-09-18T23:07:06Z

There's two major things this patchset does:
- Add drm_dp_mst_connector_atomic_check() so drivers don't need to use
->best_encoder() to prevent modesets on zombie MST connectors. We'll
use this later for implementing MST fallback retraining as well.
- Fix DPMS on->off changes failing with legacy modesetting users after
an MST connector's topology has disappeared, which resulted in CRTCs
being left on when they shouldn't have been

Lyude Paul (6):
drm/dp_mst: Introduce drm_dp_mst_connector_atomic_check()
drm/nouveau: Unbreak nv50_mstc->best_encoder()
drm/i915: Leave intel_conn->mst_port set, use mst_port_gone instead
drm/i915: Skip vcpi allocation for MSTB ports that are gone
drm/i915: Fix intel_dp_mst_best_encoder()
drm/amdgpu/dm/mst: Use drm_dp_mst_connector_atomic_check()

.../display/amdgpu_dm/amdgpu_dm_mst_types.c | 12 +++
drivers/gpu/drm/drm_dp_mst_topology.c | 76 +++++++++++++++++++
drivers/gpu/drm/i915/intel_dp_mst.c | 46 ++++++-----
drivers/gpu/drm/i915/intel_drv.h | 1 +
drivers/gpu/drm/nouveau/dispnv50/disp.c | 25 +++---
include/drm/drm_dp_mst_helper.h | 3 +
6 files changed, 132 insertions(+), 31 deletions(-)

--
2.17.1