linux-stable/drivers
Nicholas Kazlauskas 29186fd45d drm/amd/display: Only set PSR version when valid
commit 1210b17dd4 upstream.

[Why]
DMCUB will hang if we send a PSR unsupported set version command.

This can occur if we fall-through into the default case in the switch
statement for PSR version.

[How]
Add an unsupported check after the switch statement.

Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Reviewed-by: Anthony Koo <Anthony.Koo@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: "Limonciello, Mario" <Mario.Limonciello@amd.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-04-27 14:40:53 +02:00
..
accessibility
acpi
amba
android
ata ata: libata-core: Disable READ LOG DMA EXT for Samsung 840 EVOs 2022-04-20 09:36:21 +02:00
atm
auxdisplay
base
bcma
block drbd: set QUEUE_FLAG_STABLE_WRITES 2022-04-20 09:36:22 +02:00
bluetooth
bus
cdrom
char
clk
clocksource
comedi
connector
counter
cpufreq
cpuidle
crypto
cxl
dax
dca
devfreq
dio
dma
dma-buf
edac
eisa
extcon
firewire
firmware
fpga
fsi
gnss
gpio gpio: sim: fix setting and getting multiple lines 2022-04-20 09:36:25 +02:00
gpu drm/amd/display: Only set PSR version when valid 2022-04-27 14:40:53 +02:00
greybus
hid
hsi
hv Drivers: hv: balloon: Disable balloon and hot-add accordingly 2022-04-20 09:36:22 +02:00
hwmon
hwspinlock
hwtracing
i2c i2c: pasemi: Wait for write xfers to finish 2022-04-20 09:36:27 +02:00
i3c
idle
iio
infiniband
input
interconnect
iommu
ipack
irqchip
isdn
leds
macintosh
mailbox
mcb
md dm integrity: fix memory corruption when tag_size is less than digest size 2022-04-20 09:36:27 +02:00
media
memory memory: renesas-rpc-if: fix platform-device leak in error path 2022-04-20 09:36:24 +02:00
memstick
message
mfd
misc
mmc
most
mtd
mux
net ath9k: Fix usage of driver-private space in tx_info 2022-04-20 09:36:25 +02:00
nfc
ntb
nubus
nvdimm
nvme
nvmem
of
opp
parisc
parport
pci PCI: hv: Propagate coherence from VMbus device to PCI device 2022-04-20 09:36:20 +02:00
pcmcia
perf perf/imx_ddr: Fix undefined behavior due to shift overflowing the constant 2022-04-20 09:36:23 +02:00
phy
pinctrl
platform
pnp
power
powercap
pps
ps3
ptp
pwm
rapidio
ras
regulator regulator: wm8994: Add an off-on delay for WM8994 variant 2022-04-20 09:36:21 +02:00
remoteproc
reset
rpmsg
rtc
s390
sbus
scsi scsi: megaraid_sas: Target with invalid LUN ID is deleted during scan 2022-04-20 09:36:23 +02:00
sh
siox
slimbus
soc
soundwire
spi spi: cadence-quadspi: fix protocol setup for non-1-1-X operations 2022-04-20 09:36:22 +02:00
spmi
ssb
staging
target scsi: target: tcmu: Fix possible page UAF 2022-04-20 09:36:20 +02:00
tc
tee
thermal
thunderbolt
tty
uio
usb
vdpa
vfio vfio/pci: Fix vf_token mechanism when device-specific VF drivers are used 2022-04-20 09:36:18 +02:00
vhost
video
virt
virtio
visorbus
vlynq
vme
w1
watchdog
xen
zorro
Kconfig
Makefile