kernel_samsung_a53x/drivers/gpu/drm/nouveau
Lyude Paul f23b55ee87 drm/nouveau/dp: Don't probe eDP ports twice harder
[ Upstream commit bf52d7f9b2067f02efe7e32697479097aba4a055 ]

I didn't pay close enough attention the last time I tried to fix this
problem - while we currently do correctly take care to make sure we don't
probe a connected eDP port more then once, we don't do the same thing for
eDP ports we found to be disconnected.

So, fix this and make sure we only ever probe eDP ports once and then leave
them at that connector state forever (since without HPD, it's not going to
change on its own anyway). This should get rid of the last few GSP errors
getting spit out during runtime suspend and resume on some machines, as we
tried to reprobe eDP ports in response to ACPI hotplug probe events.

Signed-off-by: Lyude Paul <lyude@redhat.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240404233736.7946-3-lyude@redhat.com
(cherry picked from commit fe6660b661c3397af0867d5d098f5b26581f1290)
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-19 11:32:45 +01:00
..
dispnv04 Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dispnv50 Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
include Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nvif Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nvkm nouveau: fix instmem race condition around ptr stores 2024-11-19 11:32:23 +01:00
Kbuild Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nouveau_abi16.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nouveau_abi16.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nouveau_acpi.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nouveau_acpi.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nouveau_backlight.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nouveau_bios.c drm: nv04: Fix out of bounds access 2024-11-19 11:32:21 +01:00
nouveau_bios.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nouveau_bo.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nouveau_bo.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nouveau_bo0039.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nouveau_bo74c1.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nouveau_bo85b5.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nouveau_bo90b5.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nouveau_bo5039.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nouveau_bo9039.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nouveau_boa0b5.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nouveau_chan.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nouveau_chan.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nouveau_connector.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nouveau_connector.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nouveau_crtc.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nouveau_debugfs.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nouveau_debugfs.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nouveau_display.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nouveau_display.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nouveau_dma.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nouveau_dma.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nouveau_dmem.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nouveau_dmem.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nouveau_dp.c drm/nouveau/dp: Don't probe eDP ports twice harder 2024-11-19 11:32:45 +01:00
nouveau_drm.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nouveau_drv.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nouveau_encoder.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nouveau_fbcon.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nouveau_fbcon.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nouveau_fence.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nouveau_fence.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nouveau_gem.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nouveau_gem.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nouveau_hwmon.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nouveau_hwmon.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nouveau_ioc32.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nouveau_ioctl.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nouveau_led.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nouveau_led.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nouveau_mem.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nouveau_mem.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nouveau_nvif.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nouveau_platform.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nouveau_platform.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nouveau_prime.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nouveau_reg.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nouveau_sgdma.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nouveau_svm.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nouveau_svm.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nouveau_ttm.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nouveau_ttm.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nouveau_usif.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nouveau_usif.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nouveau_vga.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nouveau_vga.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nouveau_vmm.c nouveau/vmm: don't set addr on the fail path to avoid warning 2024-11-18 12:12:59 +01:00
nouveau_vmm.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nv04_fbcon.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nv04_fence.c drm/nouveau/fence:: fix warning directly dereferencing a rcu pointer 2024-11-18 12:12:39 +01:00
nv10_fence.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nv10_fence.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nv17_fence.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nv50_display.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nv50_fbcon.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nv50_fence.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nv84_fence.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nvc0_fbcon.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nvc0_fence.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00