linux/drivers
Carl Vanderlip 5f0a0ebca2 accel/qaic: Expand DRM device lifecycle
Currently the QAIC DRM device registers itself when the MHI QAIC_CONTROL
channel becomes available. This is when the device is able to process
workloads. However, the DRM driver also provides the debugfs interface
bootlog for the device. If the device fails to boot to the QSM (which
brings up the MHI QAIC_CONTROL channel), the bootlog won't be available for
debugging why it failed to boot.

Change when the DRM device registers itself from when QAIC_CONTROL is
available to when the card is first probed on the PCI bus. Additionally,
make the DRM driver persist through reset/error cases so the driver
doesn't have to be reloaded to access the card again. Send
KOBJ_ONLINE/OFFLINE uevents so userspace can know when DRM device is
ready to handle requests.

Signed-off-by: Carl Vanderlip <quic_carlv@quicinc.com>
Reviewed-by: Pranjal Ramajor Asha Kanojiya <quic_pkanojiy@quicinc.com>
Reviewed-by: Jeffrey Hugo <quic_jhugo@quicinc.com>
Signed-off-by: Jeffrey Hugo <quic_jhugo@quicinc.com>
Reviewed-by: Jacek Lawrynowicz <jacek.lawrynowicz@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20231117174337.20174-3-quic_jhugo@quicinc.com
2023-12-01 10:37:06 -07:00
..
accel accel/qaic: Expand DRM device lifecycle 2023-12-01 10:37:06 -07:00
accessibility
acpi Merge branches 'acpi-video' and 'acpi-processor' into acpi 2023-11-24 19:16:22 +01:00
amba
android
ata ata: pata_isapnp: Add missing error check for devm_ioport_map() 2023-11-20 09:22:26 +09:00
atm
auxdisplay fbdev: Push pgprot_decrypted() into mmap implementations 2023-11-29 12:20:44 +01:00
base
bcma
block nbd: pass nbd_sock to nbd_read_reply() instead of index 2023-11-21 07:42:04 -07:00
bluetooth
bus
cache
cdrom
cdx
char
clk
clocksource
comedi
connector
counter
cpufreq
cpuidle
crypto
cxl
dax
dca
devfreq
dio
dma
dma-buf dma-buf: Replace strlcpy() with strscpy() 2023-11-20 17:39:19 +01:00
dpll dpll: Fix potential msg memleak when genlmsg_put_reply failed 2023-11-21 17:41:20 -08:00
edac
eisa
extcon
firewire
firmware vhost,virtio,vdpa,firmware: bugfixes 2023-11-16 07:39:37 -05:00
fpga
fsi
gnss
gpio
gpu drm/imx/lcdc: Fix double-free of driver data 2023-12-01 16:04:14 +01:00
greybus
hid hid/picolcd_fb: Set FBINFO_VIRTFB flag 2023-11-29 12:20:25 +01:00
hsi
hte
hv
hwmon
hwspinlock
hwtracing
i2c i2c: ocores: Move system PM hooks to the NOIRQ phase 2023-11-13 12:43:42 -05:00
i3c
idle
iio
infiniband
input
interconnect
iommu
ipack
irqchip - Flush the translation service tables to prevent unpredictable behavior 2023-11-19 13:49:32 -08:00
isdn
leds
macintosh
mailbox
mcb
md block-6.7-2023-11-23 2023-11-23 17:40:15 -08:00
media media/ivtvfb: Initialize fb_ops to fbdev I/O-memory helpers 2023-11-29 12:20:34 +01:00
memory
memstick
message
mfd
misc
mmc
most
mtd
mux
net net: ipa: fix one GSI register field width 2023-11-23 08:52:00 -08:00
nfc nfc: virtual_ncidev: Add variable to check if ndev is running 2023-11-22 10:55:48 +00:00
ntb
nubus
nvdimm
nvme nvme: tcp: fix compile-time checks for TLS mode 2023-11-22 18:41:14 -07:00
nvmem
of
opp
parisc parisc/power: Fix power soft-off when running on qemu 2023-11-18 18:59:30 +01:00
parport
pci
pcmcia
peci
perf arm64 fixes: 2023-11-10 12:22:14 -08:00
phy
pinctrl
platform platform/x86: intel_telemetry: Fix kernel doc descriptions 2023-11-21 10:09:04 +02:00
pmdomain
pnp
power
powercap
pps
ps3
ptp ptp: annotate data-race around q->head and q->tail 2023-11-13 20:51:37 -08:00
pwm
rapidio
ras
regulator
remoteproc
reset
rpmsg
rtc
s390 block-6.7-2023-11-23 2023-11-23 17:40:15 -08:00
sbus
scsi Merge branch '6.7/scsi-staging' into 6.7/scsi-fixes 2023-11-14 11:40:40 -05:00
sh
siox
slimbus
soc
soundwire
spi spi: Fixes for v6.7 2023-11-10 11:44:38 -08:00
spmi
ssb
staging staging/sm750fb: Initialize fb_ops with fbdev macros 2023-11-29 12:20:41 +01:00
target
tc
tee
thermal
thunderbolt thunderbolt: Only add device router DP IN to the head of the DP resource list 2023-11-17 13:05:57 +02:00
tty
ufs Merge branch '6.7/scsi-staging' into 6.7/scsi-fixes 2023-11-14 11:40:40 -05:00
uio
usb USB-serial fixes for 6.7-rc3 2023-11-24 16:30:38 +00:00
vdpa
vfio
vhost vhost,virtio,vdpa,firmware: bugfixes 2023-11-16 07:39:37 -05:00
video fbdev: Remove default file-I/O implementations 2023-11-29 12:20:53 +01:00
virt
virtio vhost,virtio,vdpa,firmware: bugfixes 2023-11-16 07:39:37 -05:00
w1
watchdog
xen xen: privcmd: Replace zero-length array with flex-array member and use __counted_by 2023-11-17 10:47:19 +01:00
zorro
Kconfig
Makefile