]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/i915/dp_mst: Force modeset CRTC if DSC toggling requires it
authorImre Deak <imre.deak@intel.com>
Tue, 24 Oct 2023 01:09:22 +0000 (04:09 +0300)
committerImre Deak <imre.deak@intel.com>
Wed, 8 Nov 2023 15:22:21 +0000 (17:22 +0200)
commite37137380931ae971e0380ba4cea6b16843da953
treeb9b938d9f1fa95edbb37d94908b079a4e98b93a5
parent1e4bd5c14e4c72fc74a985e05fdbc735d2cf7566
drm/i915/dp_mst: Force modeset CRTC if DSC toggling requires it

Enabling / disabling DSC decompression in the branch device downstream
of the source may reset the whole branch device. To avoid this while the
streams are still active, force a modeset on all CRTC/ports connected to
this branch device.

v2:
- Check the CRTC state for each connector in the topology, instead of
  the CRTC being checked for a modeset requirement. (Ville)
- Add DocBook for the new function.
v3:
- Rebased on a change not to use
  intel_modeset_pipes_in_mask_early().

Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Stanislav Lisovskiy <stanislav.lisovskiy@intel.com> (v1)
Signed-off-by: Imre Deak <imre.deak@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20231107001505.3370108-8-imre.deak@intel.com
drivers/gpu/drm/i915/display/intel_display.c
drivers/gpu/drm/i915/display/intel_dp_mst.c
drivers/gpu/drm/i915/display/intel_dp_mst.h