linux-stable/drivers
Nicholas Kazlauskas 6e8f90b148 drm/amd/display: Exit idle optimizations before HDCP execution
[ Upstream commit f30a3bea92 ]

[WHY]
PSP can access DCN registers during command submission and we need
to ensure that DCN is not in PG before doing so.

[HOW]
Add a callback to DM to lock and notify DC for idle optimization exit.
It can't be DC directly because of a potential race condition with the
link protection thread and the rest of DM operation.

Cc: Mario Limonciello <mario.limonciello@amd.com>
Cc: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Charlene Liu <charlene.liu@amd.com>
Acked-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-06-27 13:52:15 +02:00
..
accel
accessibility
acpi ACPI: video: Add backlight=native quirk for Lenovo Slim 7 16ARH7 2024-06-27 13:52:14 +02:00
amba
android
ata ata: libata-core: Add ATA_HORKAGE_NOLPM for AMD Radeon S3 SSD 2024-06-21 14:40:32 +02:00
atm
auxdisplay
base drivers: core: synchronize really_probe() and dev_uevent() 2024-06-21 14:40:28 +02:00
bcma
block null_blk: Print correct max open zones limit in null_init_zoned_dev() 2024-06-21 14:40:32 +02:00
bluetooth Bluetooth: ath3k: Fix multiple issues reported by checkpatch.pl 2024-06-27 13:52:15 +02:00
bus
cache
cdrom
cdx
char tpm_tis: Do *not* flush uninitialized work 2024-06-16 13:51:06 +02:00
clk clk: sifive: Do not register clkdevs for PRCI clocks 2024-06-21 14:40:17 +02:00
clocksource
comedi
connector
counter
cpufreq cpufreq: amd-pstate: remove global header file 2024-06-21 14:40:00 +02:00
cpuidle
crypto crypto: hisilicon/qm - Add the err memory release process to qm uninit 2024-06-27 13:52:11 +02:00
cxl cxl/region: Fix memregion leaks in devm_cxl_add_region() 2024-06-21 14:40:15 +02:00
dax dax/bus.c: use the right locking mode (read vs write) in size_show 2024-05-30 09:44:59 +02:00
dca
devfreq
dio
dma dmaengine: axi-dmac: fix possible race in remove() 2024-06-21 14:40:34 +02:00
dma-buf dma-buf: handle testing kthreads creation failure 2024-06-21 14:40:33 +02:00
dpll dpll: fix return value check for kmemdup 2024-05-30 09:44:39 +02:00
edac EDAC/igen6: Convert PCIBIOS_* return codes to errnos 2024-06-16 13:51:13 +02:00
eisa
extcon extcon: max8997: select IRQ_DOMAIN instead of depending on it 2024-06-12 11:39:18 +02:00
firewire
firmware LoongArch: Fix entry point in kernel image header 2024-06-16 13:51:03 +02:00
fpga fpga: region: add owner module and take its refcount 2024-06-12 11:39:13 +02:00
fsi
gnss
gpio gpio: tqmx86: fix broken IRQ_TYPE_EDGE_BOTH interrupt type 2024-06-21 14:40:18 +02:00
gpu drm/amd/display: Exit idle optimizations before HDCP execution 2024-06-27 13:52:15 +02:00
greybus greybus: Fix use-after-free bug in gb_interface_release due to race condition. 2024-06-21 14:40:38 +02:00
hid HID: asus: fix more n-key report descriptors if n-key quirked 2024-06-27 13:52:14 +02:00
hsi
hte
hv
hwmon hwmon: (ltc2992) Fix memory leak in ltc2992_parse_dt() 2024-06-16 13:51:12 +02:00
hwspinlock
hwtracing intel_th: pci: Add Lunar Lake support 2024-06-21 14:40:37 +02:00
i2c i2c: designware: Fix the functionality flags of the slave-only interface 2024-06-21 14:40:39 +02:00
i3c i3c: master: svc: fix invalidate IBI type and miss call client IBI handler 2024-06-16 13:51:12 +02:00
idle
iio iio: invensense: fix interrupt timestamp alignment 2024-06-21 14:40:35 +02:00
infiniband inet: introduce dst_rtable() helper 2024-06-12 11:39:55 +02:00
input Input: cyapa - add missing input core locking to suspend/resume functions 2024-06-12 11:39:31 +02:00
interconnect interconnect: qcom: qcm2290: Fix mas_snoc_bimc QoS port assignment 2024-06-12 11:39:09 +02:00
iommu iommu/amd: Fix sysfs leak in iommu init 2024-06-21 14:40:19 +02:00
ipack
irqchip irqchip/gic-v3-its: Fix potential race condition in its_vlpi_prop_update() 2024-06-21 14:40:30 +02:00
isdn
leds leds: class: Revert: "If no default trigger is given, make hw_control trigger the default trigger" 2024-06-21 14:40:27 +02:00
macintosh
mailbox mailbox: mtk-cmdq: Fix pm_runtime_get_sync() warning in mbox shutdown 2024-06-12 11:39:25 +02:00
mcb
md dm-integrity: set discard_granularity to logical block size 2024-06-21 14:40:34 +02:00
media media: v4l: async: Fix notifier list entry init 2024-06-16 13:50:59 +02:00
memory
memstick
message
mfd
misc misc: microchip: pci1xxxx: Fix a memory leak in the error handling of gp_aux_bus_probe() 2024-06-21 14:40:39 +02:00
mmc mmc: sdhci-acpi: Add quirk to enable pull-up on the card-detect GPIO on Asus T100TA 2024-06-16 13:51:00 +02:00
most
mtd mtd: rawnand: hynix: fixed typo 2024-05-30 09:44:43 +02:00
mux
net net: ena: Add validation for completion descriptors consistency 2024-06-27 13:52:15 +02:00
nfc
ntb
nubus
nvdimm
nvme nvmet-passthru: propagate status from id override functions 2024-06-21 14:40:24 +02:00
nvmem
of of: module: add buffer overflow check in of_modalias() 2024-05-30 09:45:00 +02:00
opp
parisc
parport
pci PCI: rockchip-ep: Remove wrong mask on subsys_vendor_id 2024-06-21 14:40:34 +02:00
pcmcia
peci
perf perf/arm-dmc620: Fix lockdep assert in ->event_init() 2024-06-12 11:39:37 +02:00
phy phy: qcom: qmp-combo: fix sm8650 voltage swing table 2024-06-12 11:39:27 +02:00
pinctrl pinctrl: qcom: pinctrl-sm7150: Fix sdc1 and ufs special pins regs 2024-06-12 11:39:16 +02:00
platform platform/chrome: cros_usbpd_notify: provide ID table for avoiding fallback match 2024-06-27 13:52:12 +02:00
pmdomain pmdomain: ti-sci: Fix duplicate PD referrals 2024-06-21 14:40:37 +02:00
pnp
power power: supply: core: simplify charge_behaviour formatting 2024-05-30 09:44:52 +02:00
powercap
pps
ps3
ptp ptp: Fix error message on failed pin verification 2024-06-21 14:40:07 +02:00
pwm pwm: meson: Use mul_u64_u64_div_u64() for frequency calculating 2024-05-30 09:44:28 +02:00
rapidio
ras RAS/AMD/ATL: Use system settings for MI300 DRAM to normalized address translation 2024-06-21 14:40:28 +02:00
regulator regulator: tps6594-regulator: Correct multi-phase configuration 2024-06-12 11:39:41 +02:00
remoteproc remoteproc: k3-r5: Jump to error handling labels in start/stop errors 2024-06-21 14:40:38 +02:00
reset
rpmsg
rtc
s390 s390/ap: Fix crash in AP internal function modify_bitmap() 2024-06-16 13:51:11 +02:00
sbus
scsi scsi: qedi: Fix crash while reading debugfs attribute 2024-06-27 13:52:13 +02:00
sh
siox
slimbus
soc soc: qcom: rpmh-rsc: Enhance check for VRM in-flight request 2024-06-16 13:50:56 +02:00
soundwire soundwire: cadence: fix invalid PDI offset 2024-06-12 11:39:08 +02:00
spi spi: stm32: Don't warn about spurious interrupts 2024-06-12 11:39:54 +02:00
spmi spmi: hisi-spmi-controller: Do not override device identifier 2024-06-21 14:40:33 +02:00
ssb ssb: Fix potential NULL pointer dereference in ssb_device_uevent() 2024-06-27 13:52:12 +02:00
staging greybus: arche-ctrl: move device table to its right location 2024-06-12 11:39:09 +02:00
target
tc
tee
thermal thermal: core: Do not fail cdev registration because of invalid initial state 2024-06-21 14:40:21 +02:00
thunderbolt thunderbolt: debugfs: Fix margin debugfs node creation condition 2024-06-21 14:40:13 +02:00
tty serial: 8250_dw: Don't use struct dw8250_data outside of 8250_dw 2024-06-21 14:40:38 +02:00
ufs scsi: ufs: core: Quiesce request queues before checking pending cmds 2024-06-21 14:40:24 +02:00
uio
usb usb-storage: alauda: Check whether the media is initialized 2024-06-21 14:40:39 +02:00
vdpa
vfio vfio/pci: fix potential memory leak in vfio_intx_enable() 2024-06-12 11:39:13 +02:00
vhost
video fbdev: savage: Handle err return when savagefb_check_var failed 2024-06-16 13:51:01 +02:00
virt drivers/virt/acrn: fix PFNMAP PTE checks in acrn_vm_ram_map() 2024-05-30 09:44:58 +02:00
virtio virtio: delete vq in vp_find_vqs_msix() when request_irq() fails 2024-06-12 11:39:42 +02:00
w1
watchdog watchdog: rti_wdt: Set min_hw_heartbeat_ms to accommodate a safety margin 2024-06-16 13:51:08 +02:00
xen drivers/xen: Improve the late XenStore init protocol 2024-06-12 11:39:43 +02:00
zorro
Kconfig
Makefile