forked from mirrors/linux
Using PCI Device ID/Revision to initialize the interrupt_clear_with_0
workaround is problematic - there are many pre-production
steppings with different behavior, even with the same PCI ID/Revision
Instead of checking for PCI Device ID/Revision, check the VPU
buttress interrupt status register behavior - if this register
is not zero after writing 1s it means there register is RW
instead of RW1C and we need to enable the interrupt_clear_with_0
workaround.
Fixes:
|
||
|---|---|---|
| .. | ||
| habanalabs | ||
| ivpu | ||
| qaic | ||
| drm_accel.c | ||
| Kconfig | ||
| Makefile | ||