Victor Lu
0db8d192ee
drm/amd/display: Decrement refcount of dc_sink before reassignment
...
[ Upstream commit 8e92bb0fa75bca9a57e4aba2e36f67d8016a3053 ]
[why]
An old dc_sink state is causing a memory leak because it is missing a
dc_sink_release before a new dc_sink is assigned back to
aconnector->dc_sink.
[how]
Decrement the dc_sink refcount before reassigning it to a new dc_sink.
Signed-off-by: Victor Lu <victorchengchi.lu@amd.com>
Reviewed-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Acked-by: Anson Jacob <Anson.Jacob@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>
2021-02-17 10:35:15 +01:00
..
accessibility
acpi
ACPI: thermal: Do not call acpi_thermal_check() directly
2021-02-07 15:35:47 +01:00
amba
android
binder: add flag to clear buffer on txn complete
2020-12-30 11:51:35 +01:00
ata
atm
atm: idt77252: call pci_disable_device() on error path
2021-01-12 20:16:11 +01:00
auxdisplay
base
driver core: Extend device_is_dependent()
2021-01-27 11:47:51 +01:00
bcma
block
xen-blkfront: allow discard-* nodes to be optional
2021-02-03 23:25:58 +01:00
bluetooth
Bluetooth: revert: hci_h5: close serdev device and free hu in h5_close
2021-01-12 20:16:17 +01:00
bus
bus: fsl-mc: fix error return code in fsl_mc_object_allocate()
2020-12-30 11:51:23 +01:00
cdrom
char
clk
clk: tegra30: Add hda clock default rates to clock driver
2021-01-27 11:47:44 +01:00
clocksource
clocksource/drivers/arm_arch_timer: Correct fault programming of CNTKCTL_EL1.EVNTI
2020-12-30 11:51:19 +01:00
connector
counter
cpufreq
cpufreq: powernow-k8: pass policy rather than use cpufreq_cpu_get()
2021-01-17 14:05:35 +01:00
cpuidle
crypto
chtls: Fix potential resource leak
2021-02-13 13:52:55 +01:00
dax
device-dax/core: Fix memory leak when rmmod dax.ko
2020-12-30 11:51:46 +01:00
dca
devfreq
dio
dma
dmaengine: xilinx_dma: fix mixed_enum_type coverity warning
2021-01-17 14:05:36 +01:00
dma-buf
dmabuf: fix use-after-free of dmabuf's file->f_inode
2021-01-12 20:16:23 +01:00
edac
EDAC/amd64: Fix PCI component registration
2020-12-30 11:51:36 +01:00
eisa
extcon
extcon: max77693: Fix modalias string
2020-12-30 11:51:24 +01:00
firewire
firmware
firmware: imx: select SOC_BUS to fix firmware build
2021-02-03 23:25:59 +01:00
fpga
fsi
gnss
gpio
gpio: ep93xx: Fix single irqchip with multi gpiochips
2021-02-17 10:35:14 +01:00
gpu
drm/amd/display: Decrement refcount of dc_sink before reassignment
2021-02-17 10:35:15 +01:00
greybus
hid
HID: wacom: Correct NULL dereference on AES pen proximity
2021-01-30 13:54:10 +01:00
hsi
hv
hwmon
hwmon: (pwm-fan) Ensure that calculation doesn't discard big period values
2021-01-19 18:26:15 +01:00
hwspinlock
hwtracing
stm class: Fix module init return on allocation failure
2021-01-27 11:47:50 +01:00
i2c
i2c: mediatek: Move suspend and resume handling to NOIRQ phase
2021-02-13 13:52:56 +01:00
i3c
i3c master: fix missing destroy_workqueue() on error in i3c_master_register
2021-01-06 14:48:40 +01:00
ide
scsi: ide: Do not set the RQF_PREEMPT flag for sense requests
2021-01-12 20:16:09 +01:00
idle
iio
iio: ad5504: Fix setting power-down state
2021-01-27 11:47:48 +01:00
infiniband
RDMA/cxgb4: Fix the reported max_recv_sge value
2021-02-03 23:25:59 +01:00
input
Input: xpad - sync supported devices with fork on GitHub
2021-02-10 09:25:32 +01:00
interconnect
iommu
iommu/vt-d: Do not use flush-queue when caching-mode is on
2021-02-10 09:25:32 +01:00
ipack
irqchip
irqchip/mips-cpu: Set IPI domain parent chip
2021-01-27 11:47:49 +01:00
isdn
misdn: dsp: select CONFIG_BITREVERSE
2021-01-19 18:26:15 +01:00
leds
leds: trigger: fix potential deadlock with libata
2021-02-03 23:25:58 +01:00
lightnvm
lightnvm: fix memory leak when submit fails
2021-01-27 11:47:53 +01:00
macintosh
mailbox
mcb
md
md: Set prev_flush_start and flush_bio in an atomic way
2021-02-10 09:25:32 +01:00
media
media: rc: ensure that uevent can be read directly after rc device register
2021-02-03 23:25:56 +01:00
memory
memstick
memstick: r592: Fix error return in r592_probe()
2020-12-30 11:51:18 +01:00
message
mfd
misc
habanalabs: Fix memleak in hl_device_reset
2021-01-19 18:26:15 +01:00
mmc
mmc: core: Limit retries when analyse of SDIO tuples fails
2021-02-10 09:25:30 +01:00
mtd
Revert "mtd: spinand: Fix OOB read"
2021-01-09 13:44:54 +01:00
mux
net
iwlwifi: mvm: guard against device removal in reprobe
2021-02-13 13:52:55 +01:00
nfc
nfc: s3fwrn5: Release the nfc firmware
2020-12-30 11:51:26 +01:00
ntb
nubus
nvdimm
libnvdimm/dimm: Avoid race between probe and available_slots_show()
2021-02-10 09:25:30 +01:00
nvme
nvme-pci: ignore the subsysem NQN on Phison E16
2021-02-17 10:35:15 +01:00
nvmem
of
opp
oprofile
parisc
parport
pci
PCI: Fix pci_slot_release() NULL pointer dereference
2020-12-30 11:51:47 +01:00
pcmcia
perf
phy
phy: cpcap-usb: Fix warning for missing regulator_disable
2021-02-07 15:35:48 +01:00
pinctrl
pinctrl: ingenic: Fix JZ4760 support
2021-01-27 11:47:52 +01:00
platform
platform/x86: hp-wmi: Disable tablet-mode reporting by default
2021-02-17 10:35:15 +01:00
pnp
power
powercap
pps
ps3
powerpc/ps3: use dma_mapping_error()
2020-12-30 11:51:26 +01:00
ptp
pwm
pwm: lp3943: Dynamically allocate PWM chip base
2020-12-30 11:51:28 +01:00
rapidio
ras
regulator
regulator: Fix lockdep warning resolving supplies
2021-02-13 13:52:56 +01:00
remoteproc
remoteproc: qcom: Fix potential NULL dereference in adsp_init_mmio()
2020-12-30 11:51:24 +01:00
reset
rpmsg
rtc
rtc: pl031: fix resource leak in pl031_probe
2021-01-06 14:48:39 +01:00
s390
s390/vfio-ap: No need to disable IRQ after queue reset
2021-02-03 23:25:57 +01:00
sbus
scsi
scsi: ibmvfc: Set default timeout to avoid crash during migration
2021-02-07 15:35:48 +01:00
sfi
sh
siox
slimbus
soc
drivers: soc: atmel: add null entry at the end of at91_soc_allowed_list[]
2021-02-03 23:25:57 +01:00
soundwire
spi
spi: cadence: cache reference clock rate during probe
2021-01-23 15:58:00 +01:00
spmi
ssb
staging
exfat: Month timestamp metadata accidentally incremented
2021-01-17 14:05:34 +01:00
target
scsi: target: Fix XCOPY NAA identifier lookup
2021-01-12 20:16:25 +01:00
tc
tee
tee: optee: replace might_sleep with cond_resched
2021-02-03 23:25:58 +01:00
thermal
thermal/drivers/cpufreq_cooling: Update cpufreq_state only if state has changed
2021-01-06 14:48:35 +01:00
thunderbolt
tty
serial: mvebu-uart: fix tx lost characters at power off
2021-01-27 11:47:50 +01:00
uio
usb
usb: host: xhci: mvebu: make USB 3.0 PHY optional for Armada 3720
2021-02-10 09:25:33 +01:00
vfio
vfio iommu: Add dma available capability
2021-01-17 14:05:30 +01:00
vhost
vhost_net: fix ubuf refcount incorrectly when sendmsg fails
2021-01-12 20:16:16 +01:00
video
video: hyperv_fb: Fix the mmap() regression for v5.4.y and older
2021-01-12 20:16:17 +01:00
virt
virtio
virtio_ring: Fix two use after free bugs
2020-12-30 11:51:29 +01:00
visorbus
vlynq
vme
w1
watchdog
watchdog: coh901327: add COMMON_CLK dependency
2020-12-30 11:51:28 +01:00
xen
arm/xen: Don't probe xenbus as part of an early initcall
2021-02-17 10:35:14 +01:00
zorro
Kconfig
Makefile