linux_dsm_epyc7002/drivers
Rajneesh Bhardwaj 9593f4d6a6 drm/amdkfd: refactor runtime pm for baco
So far the kfd driver implemented same routines for runtime and system
wide suspend and resume (s2idle or mem). During system wide suspend the
kfd aquires an atomic lock that prevents any more user processes to
create queues and interact with kfd driver and amd gpu. This mechanism
created problem when amdgpu device is runtime suspended with BACO
enabled. Any application that relies on kfd driver fails to load because
the driver reports a locked kfd device since gpu is runtime suspended.

However, in an ideal case, when gpu is runtime  suspended the kfd driver
should be able to:

 - auto resume amdgpu driver whenever a client requests compute service
 - prevent runtime suspend for amdgpu  while kfd is in use

This change refactors the amdgpu and amdkfd drivers to support BACO and
runtime power management.

Reviewed-by: Oak Zeng <oak.zeng@amd.com>
Reviewed-by: Felix Kuehling <felix.kuehling@amd.com>
Signed-off-by: Rajneesh Bhardwaj <rajneesh.bhardwaj@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2020-02-12 16:00:54 -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 cpuidle: teo: Fix intervals[] array indexing bug 2020-01-13 11:14:58 +01:00
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 riscv: move sifive_l2_cache.h to include/soc 2020-01-12 10:12:44 -08:00
eisa
extcon
firewire FireWire (IEEE 1394) subsystem updates: 2019-12-02 14:13:00 -08:00
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/amdkfd: refactor runtime pm for baco 2020-02-12 16:00:54 -05:00
greybus
hid Linux 5.5-rc7 2020-01-20 11:42:57 +10:00
hsi
hv
hwmon
hwspinlock
hwtracing coresight: etm4x: Fix unused function warning 2020-01-14 15:38:28 +01:00
i2c i2c: iop3xx: Fix memory leak in probe error path 2020-01-15 20:31:27 +01:00
i3c
ide
idle
iio iio: light: vcnl4000: Fix scale for vcnl4040 2020-01-13 12:08:40 +01:00
infiniband
input Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input 2020-01-09 15:37:40 -08:00
interconnect
iommu
ipack
irqchip irqchip/ingenic: Get rid of the legacy IRQ domain 2020-01-13 17:45:23 +01:00
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 NFC: pn533: fix bulk-message timeout 2020-01-13 18:50:18 -08:00
ntb
nubus
nvdimm
nvme nvmet: fix per feat data len for get_feature 2020-01-10 08:55:50 -07:00
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 ptp: free ptp device pin descriptors properly 2020-01-14 10:58:57 -08:00
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