linux_dsm_epyc7002/drivers
Zhan Liu f739ce5768 drm/amd/display: Add aconnector condition check for dpcd read
[Why]
core_link_read_dpcd() will invoke dm_helpers_dp_read_dpcd(),
which needs to read dpcd info with the help of aconnector.
If aconnector (dc->links[i]->prev) is NULL, then dpcd status
 cannot be read.

As a result, dpcd read fails and a line of error will be
printed out in dmesg.log as:
"*ERROR* Failed to found connector for link!"

[How]
Make sure that aconnector (dc->links[i]->prev) is not NULL,
then read dpcd status.

Signed-off-by: Zhan Liu <zhan.liu@amd.com>
Reviewed-by: Joseph Gravenor <Joseph.Gravenor@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2020-02-25 11:02:14 -05:00
..
accessibility
acpi
amba
android
ata
atm
auxdisplay
base Fix built-in early-load Intel microcode alignment 2020-01-15 11:50:37 -08:00
bcma
block block-5.5-2020-01-16 2020-01-17 05:54:18 -08:00
bluetooth
bus
cdrom
char
clk ARM: SoC fixes 2020-01-16 19:42:08 -08:00
clocksource
connector
counter
cpufreq
cpuidle
crypto Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6 2020-01-15 10:21:34 -08:00
dax
dca
devfreq
dio
dma
dma-buf
edac
eisa
extcon
firewire
firmware Merge branch 'efi-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2020-01-18 12:50:14 -08:00
fpga
fsi
gnss
gpio Revert "gpio: thunderx: Switch to GPIOLIB_IRQCHIP" 2020-01-15 11:17:21 +01:00
gpu drm/amd/display: Add aconnector condition check for dpcd read 2020-02-25 11:02:14 -05:00
greybus
hid Linux 5.5-rc7 2020-01-20 11:42:57 +10:00
hsi
hv
hwmon
hwspinlock
hwtracing
i2c i2c: iop3xx: Fix memory leak in probe error path 2020-01-15 20:31:27 +01:00
i3c
ide
idle
iio
infiniband
input
interconnect
iommu
ipack
irqchip
isdn
leds
lightnvm
macintosh
mailbox
mcb
md block: fix an integer overflow in logical block size 2020-01-15 21:43:09 -07:00
media Linux 5.5-rc7 2020-01-20 11:42:57 +10:00
memory
memstick
message scsi: mptfusion: Fix double fetch bug in ioctl 2020-01-15 23:05:52 -05:00
mfd
misc Linux 5.5-rc7 2020-01-20 11:42:57 +10:00
mmc
mtd mtd: rawnand: gpmi: Restore nfc timing setup after suspend/resume 2020-01-17 22:45:09 +01:00
mux
net cxgb4: reject overlapped queues in TC-MQPRIO offload 2020-01-19 16:12:53 +01:00
nfc
ntb
nubus
nvdimm
nvme
nvmem
of
opp
oprofile
parisc
parport
pci
pcmcia
perf
phy
pinctrl Linux 5.5-rc7 2020-01-20 11:42:57 +10:00
platform platform/chrome fixes for v5.5-rc7. 2020-01-16 10:26:40 -08:00
pnp
power
powercap
pps
ps3
ptp
pwm
rapidio
ras
regulator
remoteproc
reset
rpmsg
rtc
s390
sbus
scsi SCSI fixes on 20200118 2020-01-18 12:12:36 -08:00
sfi
sh
siox
slimbus
soc Linux 5.5-rc7 2020-01-20 11:42:57 +10:00
soundwire
spi
spmi
ssb
staging Linux 5.5-rc7 2020-01-20 11:42:57 +10:00
target
tc
tee Linux 5.5-rc7 2020-01-20 11:42:57 +10:00
thermal
thunderbolt
tty
uio
usb USB-serial fixes for 5.5-rc7 2020-01-17 19:40:06 +01:00
vfio
vhost
video
virt
virtio
visorbus
vlynq
vme
w1
watchdog
xen Linux 5.5-rc7 2020-01-20 11:42:57 +10:00
zorro
Kconfig
Makefile