linux_dsm_epyc7002/drivers/gpu/drm/nouveau
Lyude Paul 7b0f61e91b drm/nouveau: Fix nv50_mstc->best_encoder()
As mentioned in the previous commit, we currently prevent new modesets
on recently-removed MST connectors by returning no encoder from our
->best_encoder() callback once the MST port has disappeared. This is
wrong however, because it prevents legacy modesetting users from being
able to disable CRTCs on MST connectors after the connector's respective
topology has disappeared.

So, fix this by instead by just always returning a valid encoder.

Changes since v2:
- Remove usage of atomic MST helper for now, since that got replaced
  with a much simpler solution

Signed-off-by: Lyude Paul <lyude@redhat.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Reviewed-by: Ben Skeggs <bskeggs@redhat.com>
Cc: stable@vger.kernel.org
Link: https://patchwork.freedesktop.org/patch/msgid/20181008232437.5571-3-lyude@redhat.com
(cherry picked from commit e87b0bbc9f)
Signed-off-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
2018-10-19 11:46:46 +03:00
..
dispnv04
dispnv50 drm/nouveau: Fix nv50_mstc->best_encoder() 2018-10-19 11:46:46 +03:00
include drm/nouveau/disp: add a way to configure scrambling/tmds for hdmi 2.0 2018-10-11 09:54:10 +10:00
nvif
nvkm drm/nouveau/secboot/acr: fix memory leak 2018-10-11 09:54:10 +10:00
Kbuild
Kconfig
nouveau_abi16.c
nouveau_abi16.h
nouveau_acpi.c
nouveau_acpi.h
nouveau_backlight.c drm/nouveau: Refactor nvXX_backlight_init() 2018-10-11 09:54:10 +10:00
nouveau_bios.c
nouveau_bios.h
nouveau_bo.c
nouveau_bo.h
nouveau_chan.c
nouveau_chan.h
nouveau_connector.c drm/nouveau/disp: take sink support into account for exposing 594mhz 2018-10-11 09:54:10 +10:00
nouveau_connector.h drm/nouveau/drm/nouveau: s/nouveau_backlight_exit/nouveau_backlight_fini/ 2018-10-11 09:54:10 +10:00
nouveau_crtc.h
nouveau_debugfs.c
nouveau_debugfs.h
nouveau_display.c drm/nouveau: Move backlight device into nouveau_connector 2018-10-11 09:54:09 +10:00
nouveau_display.h drm/nouveau: Move backlight device into nouveau_connector 2018-10-11 09:54:09 +10:00
nouveau_dma.c
nouveau_dma.h
nouveau_dp.c
nouveau_drm.c drm/nouveau: Start using new drm_dev initialization helpers 2018-10-11 09:54:10 +10:00
nouveau_drv.h drm/nouveau: Move backlight device into nouveau_connector 2018-10-11 09:54:09 +10:00
nouveau_encoder.h
nouveau_fbcon.c This is the 4.19-rc5 stable release 2018-09-27 11:06:46 +10:00
nouveau_fbcon.h drm/nouveau/drm/nouveau: Fix deadlock with fb_helper with async RPM requests 2018-09-07 06:54:26 +10:00
nouveau_fence.c
nouveau_fence.h
nouveau_gem.c
nouveau_gem.h
nouveau_hwmon.c
nouveau_hwmon.h
nouveau_ioc32.c
nouveau_ioctl.h
nouveau_led.c
nouveau_led.h
nouveau_mem.c
nouveau_mem.h
nouveau_nvif.c
nouveau_platform.c
nouveau_platform.h
nouveau_prime.c
nouveau_reg.h
nouveau_sgdma.c
nouveau_ttm.c
nouveau_ttm.h
nouveau_usif.c
nouveau_usif.h
nouveau_vga.c drm/nouveau: Remove useless poll_disable() call in switcheroo_set_state() 2018-09-07 06:54:26 +10:00
nouveau_vga.h
nouveau_vmm.c
nouveau_vmm.h
nv04_fbcon.c
nv04_fence.c
nv10_fence.c
nv10_fence.h
nv17_fence.c
nv50_display.h
nv50_fbcon.c
nv50_fence.c
nv84_fence.c
nvc0_fbcon.c
nvc0_fence.c