diff options
author | Stanislaw Gruszka <[email protected]> | 2023-03-23 13:55:01 +0100 |
---|---|---|
committer | Jacek Lawrynowicz <[email protected]> | 2023-03-24 10:52:20 +0100 |
commit | 3d8b2727d8de4720c6865917dd05249b1f449f34 (patch) | |
tree | 154ec6c0cfeb024dd0c368a5a3652d6fa95b0348 /scripts/gdb/linux/utils.py | |
parent | a8fed6d1e0b9bbea2cbe602831f84a2cff4653e3 (diff) |
accel/ivpu: Disable buttress on device removal
Use pci_set_power_state() to disable buttress when device is removed.
This is workaround of hardware bug that hangs the system.
Additionally not disabling buttress prevents CPU enter deeper Pkg-C
states when the driver is unloaded or fail to probe.
Fixes: 35b137630f08 ("accel/ivpu: Introduce a new DRM driver for Intel VPU")
Signed-off-by: Stanislaw Gruszka <[email protected]>
Reviewed-by: Jeffrey Hugo <[email protected]>
Signed-off-by: Jacek Lawrynowicz <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions