linux-stable/drivers
Aurabindo Pillai 212fbbf9e2 drm/amd/display: Fix hang when skipping modeset
commit da5e149097 upstream.

[Why&How]

When skipping full modeset since the only state change was a front porch
change, the DC commit sequence requires extra checks to handle non
existant plane states being asked to be removed from context.

Reviewed-by: Alvin Lee <Alvin.Lee2@amd.com>
Acked-by: Qingqing Zhuo <qingqing.zhuo@amd.com>
Signed-off-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-05-17 13:59:13 +02:00
..
accel accel: fix CONFIG_DRM dependencies 2023-03-10 09:28:36 +01:00
accessibility tty: fix possible null-ptr-defer in spk_ttyio_release 2023-01-19 16:24:04 +01:00
acpi ACPI: PM: Do not turn of unused power resources on the Toshiba Click Mini 2023-05-11 23:11:32 +09:00
amba
android binder: validate alloc->mm in ->mmap() handler 2022-11-09 15:41:27 +01:00
ata ata: ahci: Revert "ata: ahci: Add Tiger Lake UP{3,4} AHCI controller" 2023-03-10 09:27:41 +01:00
atm atm: idt77252: fix kmemleak when rmmod idt77252 2023-03-30 12:51:20 +02:00
auxdisplay auxdisplay: hd44780: Fix potential memory leak in hd44780_remove() 2023-03-11 13:50:20 +01:00
base cacheinfo: Check sib_leaf in cache_leaves_are_shared() 2023-05-11 23:11:22 +09:00
bcma bcma: Fail probe if GPIO subdriver fails 2022-11-04 12:59:51 +02:00
block drbd: correctly submit flush bio on barrier 2023-05-11 23:11:33 +09:00
bluetooth Revert "Bluetooth: btsdio: fix use after free bug in btsdio_remove due to unfinished work" 2023-05-11 23:11:19 +09:00
bus bus: mhi: host: Range check CHDBOFF and ERDBOFF 2023-05-11 23:10:55 +09:00
cdrom
char ipmi: ASPEED_BT_IPMI_BMC: select REGMAP_MMIO instead of depending on it 2023-05-11 23:11:19 +09:00
clk clk: rockchip: rk3399: allow clk_cifout to force clk_cifout_src to reparent 2023-05-11 23:11:34 +09:00
clocksource clocksource/drivers/davinci: Fix memory leak in davinci_timer_register when init fails 2023-05-11 23:11:29 +09:00
comedi
connector connector/cn_proc: Use task_is_in_init_pid_ns() 2022-01-26 18:57:09 -08:00
counter counter: 104-quad-8: Fix Synapse action reported for Index signals 2023-04-13 17:02:49 +02:00
cpufreq cpufreq: use correct unit when verify cur freq 2023-05-11 23:11:07 +09:00
cpuidle RISC-V: Align SBI probe implementation with spec 2023-05-11 23:10:54 +09:00
crypto crypto: sun8i-ss - Fix a test in sun8i_ss_setup_ivs() 2023-05-17 13:58:53 +02:00
cxl cxl/hdm: Fail upon detecting 0-sized decoders 2023-05-11 23:10:55 +09:00
dax dax/kmem: Fix leak of memory-hotplug resources 2023-03-10 09:29:48 +01:00
dca dca: Use PTR_ERR_OR_ZERO() to simplify code 2020-05-15 16:25:20 +02:00
devfreq
dio drivers: dio: fix possible memory leak in dio_init() 2022-11-09 15:12:37 +01:00
dma dmaengine: at_xdmac: do not enable all cyclic channels 2023-05-11 23:11:31 +09:00
dma-buf dma-buf: actually set signaling bit for private stub fences 2023-01-27 14:16:18 +01:00
edac qcom: llcc/edac: Support polling mode for ECC handling 2023-05-17 13:58:39 +02:00
eisa EISA: use DEVICE_ATTR_RO() helper macro 2021-06-04 15:28:34 +02:00
extcon Char/Misc driver changes for 6.2-rc1 2022-12-16 03:49:24 -08:00
firewire firewire: fix memory leak for payload of request subaction to IEC 61883-1 FCP region 2023-01-17 18:09:21 +01:00
firmware firmware: stratix10-svc: Fix an NULL vs IS_ERR() bug in probe 2023-05-11 23:11:24 +09:00
fpga fpga: bridge: fix kernel-doc parameter description 2023-05-11 23:11:20 +09:00
fsi use less confusing names for iov_iter direction initializers 2022-11-25 13:01:55 -05:00
gnss
gpio gpiolib: acpi: Add a ignore wakeup quirk for Clevo NL5xNU 2023-05-01 08:29:23 +09:00
gpu drm/amd/display: Fix hang when skipping modeset 2023-05-17 13:59:13 +02:00
greybus greybus: svc: Use kstrtobool() instead of strtobool() 2022-11-10 19:03:58 +01:00
hid HID: wacom: insert timestamp to packed Bluetooth (BT) events 2023-05-17 13:59:08 +02:00
hsi HSI: omap_ssi_core: Fix error handling in ssi_init() 2022-11-25 01:04:21 +01:00
hte hte: tegra-194: Fix off by one in tegra_hte_map_to_line_id() 2023-05-11 23:11:32 +09:00
hv Drivers: vmbus: Check for channel allocation before looking up relids 2023-04-13 17:02:35 +02:00
hwmon hwmon: (pmbus/fsp-3y) Fix functionality bitmask in FSP-3Y YM-2151E 2023-05-11 23:11:07 +09:00
hwspinlock
hwtracing coresight: etm_pmu: Set the module field 2023-05-11 23:11:22 +09:00
i2c i2c: tegra: Fix PEC support for SMBUS block read 2023-05-17 13:58:46 +02:00
i3c i3c: export SETDASA method 2022-12-11 21:25:58 +01:00
idle Revert "cpuidle, intel_idle: Fix CPUIDLE_FLAG_IRQ_ENABLE *again*" 2023-04-06 12:12:48 +02:00
iio iio: light: max44009: add missing OF device matching 2023-05-11 23:11:20 +09:00
infiniband RDMA/rxe: Extend dbg log messages to err and info 2023-05-17 13:58:41 +02:00
input Input: raspberrypi-ts - fix refcount leak in rpi_ts_probe 2023-05-11 23:11:28 +09:00
interconnect interconnect: qcom: rpm: drop bogus pm domain attach 2023-05-11 23:11:21 +09:00
iommu iommu/amd: Set page size bitmap during V2 domain allocation 2023-05-11 23:11:28 +09:00
ipack Char/Misc and other driver changes for 6.1-rc1 2022-10-08 08:56:37 -07:00
irqchip irqchip/loongson-eiointc: Fix registration of syscore_ops 2023-05-17 13:59:04 +02:00
isdn treewide: Convert del_timer*() to timer_shutdown*() 2022-12-25 13:38:09 -08:00
leds leds: tca6507: Fix error handling of using fwnode_property_read_string 2023-05-11 23:11:30 +09:00
macintosh macintosh: via-pmu-led: requires ATA to be set 2023-05-11 23:11:25 +09:00
mailbox mailbox: zynqmp: Fix counts of child nodes 2023-05-17 13:58:40 +02:00
mcb mcb: mcb-parse: fix error handing in chameleon_parse_gdd() 2022-12-02 17:48:04 +01:00
md dm: don't lock fs when the map is NULL in process of resume 2023-05-11 23:11:35 +09:00
media media: mediatek: vcodec: add remove function for decoder platform driver 2023-05-11 23:11:07 +09:00
memory memory: tegra30-emc: fix interconnect registration race 2023-03-22 13:37:58 +01:00
memstick memstick: fix memory leak if card device is never registered 2023-04-26 14:30:04 +02:00
message
mfd mfd: arizona-spi: Add missing MODULE_DEVICE_TABLE 2023-05-11 23:11:32 +09:00
misc vmci_host: fix a race condition in vmci_host_poll() causing GPF 2023-05-11 23:11:21 +09:00
mmc mmc: sdhci-of-esdhc: fix quirk to ignore command inhibit for data 2023-05-11 23:11:01 +09:00
most most: usb: replace snprintf in show functions with sysfs_emit 2021-11-26 17:03:47 +01:00
mtd mtd: spi-nor: spansion: Enable JFFS2 write buffer for Infineon s25hx SEMPER flash 2023-05-17 13:58:40 +02:00
mux mux: Fix struct mux_state kernel-doc comment 2022-02-04 15:47:12 +01:00
net wifi: iwlwifi: mvm: fix potential memory leak 2023-05-17 13:58:55 +02:00
nfc nfc: st-nci: Fix use after free bug in ndlc_remove due to race condition 2023-03-22 13:37:49 +01:00
ntb NTB: epf: Allow more flexibility in the memory BAR map method 2022-08-09 17:54:03 -04:00
nubus
nvdimm cxl/pmem: Fix nvdimm registration races 2023-03-10 09:29:42 +01:00
nvme nvme-fcloop: fix "inconsistent {IN-HARDIRQ-W} -> {HARDIRQ-ON-W} usage" 2023-05-11 23:11:14 +09:00
nvmem nvmem: qcom-spmi-sdam: fix module autoloading 2023-01-28 14:39:31 +01:00
of of: Fix modalias string generation 2023-05-11 23:11:21 +09:00
opp OPP: fix error checking in opp_migrate_dentry() 2023-03-10 09:28:17 +01:00
parisc
parport
pci PCI/PM: Extend D3hot delay for NVIDIA HDA controllers 2023-05-11 23:11:23 +09:00
pcmcia treewide: Convert del_timer*() to timer_shutdown*() 2022-12-25 13:38:09 -08:00
peci peci: cpu: Fix use-after-free in adev_release() 2022-08-15 20:31:35 +02:00
perf perf/arm-cmn: Fix port detection for CMN-700 2023-05-11 23:11:06 +09:00
phy phy: ti: j721e-wiz: Fix unreachable code in wiz_mode_select() 2023-05-11 23:11:31 +09:00
pinctrl pinctrl-bcm2835.c: fix race condition when setting gpio dir 2023-05-11 23:11:31 +09:00
platform platform/x86: thinkpad_acpi: Add profile force ability 2023-05-17 13:58:59 +02:00
pnp
power power: supply: rk817: Fix low SOC bugs 2023-05-11 23:11:27 +09:00
powercap powercap: fix possible name leak in powercap_register_zone() 2023-03-10 09:28:10 +01:00
pps pps: generators: pps_gen_parport: Switch to use module_parport_driver() 2022-03-18 14:01:19 +01:00
ps3
ptp ptp_qoriq: fix memory leak in probe() 2023-04-06 12:12:33 +02:00
pwm pwm: mtk-disp: Configure double buffering before reading in .get_state() 2023-05-11 23:11:31 +09:00
rapidio
ras RAS: Fix return value from show_trace() 2022-10-31 18:55:18 +01:00
regulator regulator: stm32-pwr: fix of_iomap leak 2023-05-11 23:11:06 +09:00
remoteproc remoteproc: rcar_rproc: Call of_node_put() on iteration error 2023-05-17 13:59:01 +02:00
reset reset: uniphier-glue: Fix possible null-ptr-deref 2023-01-03 11:30:46 +01:00
rpmsg rpmsg: glink: Propagate TX failures in intentless mode as well 2023-05-11 23:11:07 +09:00
rtc rtc: k3: handle errors while enabling wake irq 2023-05-11 23:11:26 +09:00
s390 s390/dasd: fix hanging blockdevice after request requeue 2023-05-11 23:11:35 +09:00
sbus sparc: sbus: treat CPU index as integer 2022-11-19 00:56:15 +01:00
scsi scsi: qedi: Fix use after free bug in qedi_remove() 2023-05-17 13:58:42 +02:00
sh genirq: Add and use an irq_data_update_affinity helper 2022-07-07 09:38:04 +01:00
siox siox: fix possible memory leak in siox_device_add() 2022-11-09 15:40:14 +01:00
slimbus slimbus: qcom-ngd-ctrl: reinit the reconf completion flag 2022-11-23 19:45:33 +01:00
soc soc: qcom: llcc: Do not create EDAC platform device on SDM845 2023-05-17 13:58:39 +02:00
soundwire soundwire: intel: don't save hw_params for use in prepare 2023-05-11 23:11:31 +09:00
spi spi: fsl-cpm: Use 16 bit mode for large transfers with even size 2023-05-17 13:59:12 +02:00
spmi spmi: Add a check for remove callback when removing a SPMI driver 2023-05-11 23:11:24 +09:00
ssb
staging staging: rtl8192e: Fix W_DISABLE# does not work after stop/start 2023-05-11 23:11:24 +09:00
target scsi: target: iscsit: Fix TAS handling during conn cleanup 2023-05-11 23:11:10 +09:00
tc The main MIPS changes for 5.6: 2020-01-31 11:28:31 -08:00
tee tee: amdtee: fix race condition in amdtee_open_session 2023-03-30 12:51:41 +02:00
thermal thermal/drivers/mediatek: Use devm_of_iomap to avoid resource leak in mtk_thermal_probe 2023-05-11 23:11:31 +09:00
thunderbolt thunderbolt: Use correct type in tb_port_is_clx_enabled() prototype 2023-05-11 23:11:36 +09:00
tty serial: 8250: Add missing wakeup event reporting 2023-05-11 23:11:24 +09:00
ufs scsi: ufs: core: Add soft dependency on governor_simpleondemand 2023-03-30 12:51:29 +02:00
uio uio: uio_dmem_genirq: Use non-atomic bit operations in irq config and handling 2022-11-10 18:54:29 +01:00
usb usb: dwc3: gadget: Execute gadget stop after halting the controller 2023-05-17 13:58:38 +02:00
vdpa vp_vdpa: fix the crash in hot unplug with vp_vdpa 2023-03-22 13:38:06 +01:00
vfio vfio/type1: restore locked_vm 2023-03-10 09:29:56 +01:00
vhost vhost_vdpa: fix unmap process in no-batch mode 2023-05-11 23:11:35 +09:00
video fbdev: mmp: Fix deferred clk handling in mmphw_probe() 2023-05-11 23:11:24 +09:00
virt virt/coco/sev-guest: Double-buffer messages 2023-05-11 23:11:00 +09:00
virtio virtio_ring: don't update event idx on get_buf 2023-05-11 23:11:24 +09:00
vlynq
w1 w1: fix WARNING after calling w1_process() 2023-01-19 17:26:33 +01:00
watchdog watchdog: dw_wdt: Fix the error handling path of dw_wdt_drv_probe() 2023-05-17 13:58:45 +02:00
xen ACPI: processor: Fix evaluating _PDC method when running as Xen dom0 2023-05-11 23:11:01 +09:00
zorro proc: remove PDE_DATA() completely 2022-01-22 08:33:37 +02:00
Kconfig
Makefile