diff options
| author | Andrzej Kacprowski <[email protected]> | 2023-12-04 12:23:31 +0000 |
|---|---|---|
| committer | Jacek Lawrynowicz <[email protected]> | 2023-12-11 09:38:52 +0000 |
| commit | 35c49cfc8b702eda7a0d3f05497b16f81b69e289 (patch) | |
| tree | b3a5361539fd82c36721c7dbfafea61dbe5401a6 /tools/perf/scripts/python/gecko.py | |
| parent | drm/crtc: fix uninitialized variable use (diff) | |
| download | kernel-35c49cfc8b702eda7a0d3f05497b16f81b69e289.tar.gz kernel-35c49cfc8b702eda7a0d3f05497b16f81b69e289.zip | |
accel/ivpu/37xx: Fix interrupt_clear_with_0 WA initialization
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: 7f34e01f77f8 ("accel/ivpu: Clear specific interrupt status bits on C0")
Signed-off-by: Andrzej Kacprowski <[email protected]>
Signed-off-by: Jacek Lawrynowicz <[email protected]>
Reviewed-by: Jeffrey Hugo <[email protected]>
Link: https://lore.kernel.org/all/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions
