[PATCH v2 0/4] drm/dp_mst: Fix regressions from new atomic VCPI helpers

From: Lyude Paul
Date: Thu Jan 31 2019 - 20:15:38 EST


This fixes the extra issues I discovered upstream after the introduction
of my rework of the atomic VCPI helpers that occur during
suspend/resume.

This time around, we use a slightly different but much less complicated
approach for fixing said issues.

Cc: Daniel Vetter <daniel@xxxxxxxx>

Lyude Paul (4):
drm/dp_mst: Fix unbalanced malloc ref in drm_dp_mst_deallocate_vcpi()
drm/dp_mst: Remove port validation in drm_dp_atomic_find_vcpi_slots()
drm/atomic: Add drm_atomic_state->duplicated
drm/nouveau: Move PBN and VCPI allocation into nv50_head_atom

drivers/gpu/drm/drm_atomic_helper.c | 10 ++++-
drivers/gpu/drm/drm_dp_mst_topology.c | 51 +++++++++++++++++--------
drivers/gpu/drm/i915/intel_dp_mst.c | 17 +++------
drivers/gpu/drm/nouveau/dispnv50/atom.h | 6 +++
drivers/gpu/drm/nouveau/dispnv50/disp.c | 31 ++++++++-------
drivers/gpu/drm/nouveau/dispnv50/head.c | 1 +
include/drm/drm_atomic.h | 9 +++++
7 files changed, 85 insertions(+), 40 deletions(-)

--
2.20.1