linux/drivers
Felix Kuehling e3290a5e24 drm/amdgpu: Fix oops when pp_funcs->switch_power_profile is unset
commit 919a52fc4c upstream.

On Vega20 and other pre-production GPUs, powerplay is not enabled yet.
Check for NULL pointers before calling pp_funcs function pointers.

Also affects Kaveri.

CC: Joerg Roedel <jroedel@suse.de>
Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Tested-by: Joerg Roedel <jroedel@suse.de>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-12-01 09:37:28 +01:00
..
accessibility
acpi ACPI / platform: Add SMB0001 HID to forbidden_id_list 2018-11-27 16:13:10 +01:00
amba
android
ata libata: blacklist SAMSUNG MZ7TD256HAFV-000L9 SSD 2018-11-21 09:19:24 +01:00
atm
auxdisplay
base
bcma
block block: brd: associate with queue until adding disk 2018-11-27 16:12:58 +01:00
bluetooth
bus
cdrom
char
clk clk: fixed-factor: fix of_node_get-put imbalance 2018-11-27 16:13:04 +01:00
clocksource clockevents/drivers/i8253: Add support for PIT shutdown quirk 2018-11-21 09:19:20 +01:00
connector
cpufreq
cpuidle ARM: cpuidle: Don't register the driver when back-end init returns -ENXIO 2018-11-21 09:19:23 +01:00
crypto
dax
dca
devfreq
dio
dma
dma-buf
edac
eisa
extcon
firewire
firmware efi/libstub: arm: support building with clang 2018-12-01 09:37:24 +01:00
fmc
fpga
fsi
gnss gnss: sirf: fix synchronous write timeout 2018-11-27 16:13:10 +01:00
gpio gpio: don't free unallocated ida on gpiochip_add_data_with_key() error path 2018-12-01 09:37:26 +01:00
gpu drm/amdgpu: Fix oops when pp_funcs->switch_power_profile is unset 2018-12-01 09:37:28 +01:00
hid HID: steam: remove input device when a hid client is running. 2018-12-01 09:37:24 +01:00
hsi
hv
hwmon hwmon: (ibmpowernv) Remove bogus __init annotations 2018-11-27 16:13:04 +01:00
hwspinlock
hwtracing
i2c i2c: qcom-geni: Fix runtime PM mismatch with child devices 2018-11-27 16:13:06 +01:00
ide
idle
iio
infiniband
input Input: synaptics - avoid using uninitialized variable when probing 2018-12-01 09:37:27 +01:00
iommu
ipack
irqchip
isdn
leds
lightnvm
macintosh
mailbox
mcb
md
media media: v4l: event: Add subscription to list before calling "add" operation 2018-11-27 16:13:08 +01:00
memory
memstick
message
mfd
misc drivers/misc/sgi-gru: fix Spectre v1 vulnerability 2018-11-27 16:13:10 +01:00
mmc mmc: sdhci-pci: Workaround GLK firmware failing to restore the tuning value 2018-12-01 09:37:26 +01:00
mtd mtd: rawnand: atmel: fix OF child-node lookup 2018-11-27 16:13:10 +01:00
mux
net brcmfmac: fix reporting support for 160 MHz channels 2018-12-01 09:37:26 +01:00
nfc
ntb
nubus
nvdimm
nvme nvme: make sure ns head inherits underlying device limits 2018-11-27 16:13:05 +01:00
nvmem
of of/device: Really only set bus DMA mask when appropriate 2018-11-27 16:13:05 +01:00
opp opp: ti-opp-supply: Correct the supply in _get_optimal_vdd_voltage call 2018-12-01 09:37:27 +01:00
oprofile
parisc
parport
pci
pcmcia
perf
phy
pinctrl
platform platform/x86: acerhdf: Add BIOS entry for Gateway LT31 v1.3307 2018-11-27 16:13:00 +01:00
pnp
power
powercap
pps
ps3
ptp
pwm
rapidio
ras
regulator
remoteproc
reset
rpmsg
rtc rtc: hctosys: Add missing range error reporting 2018-11-21 09:19:23 +01:00
s390 s390/qeth: unregister netdevice only when registered 2018-11-27 16:13:03 +01:00
sbus
scsi
sfi
sh
siox
slimbus
sn
soc soc: ti: QMSS: Fix usage of irq_set_affinity_hint 2018-11-21 09:19:18 +01:00
soundwire
spi
spmi
ssb
staging
target
tc
tee
thermal
thunderbolt
tty serial: sh-sci: Fix receive on SCIFA/SCIFB variants with DMA 2018-11-27 16:13:01 +01:00
uio uio: Fix an Oops on load 2018-11-27 16:13:09 +01:00
usb usb: xhci: Prevent bus suspend if a port connect change or polling state is detected 2018-12-01 09:37:25 +01:00
uwb
vfio
vhost
video
virt
virtio
visorbus
vlynq
vme
w1
watchdog
xen xen/grant-table: Fix incorrect gnttab_dma_free_pages() pr_debug message 2018-11-27 16:13:04 +01:00
zorro
Kconfig
Makefile