diff options
| author | Alan Previn <[email protected]> | 2023-01-25 00:26:36 -0800 |
|---|---|---|
| committer | Rodrigo Vivi <[email protected]> | 2023-01-27 15:23:17 -0500 |
| commit | 9b469093d321f23adf13d966797f55242278c3b5 (patch) | |
| tree | ef0bfeeeb187b5a05ffd51bc10f95a116248e8d3 /tools/perf/scripts/python | |
| parent | d374c047b38e9f1130308aae207dc44045cd5cac (diff) | |
drm/i915/pxp: Trigger the global teardown for before suspending
A driver bug was recently discovered where the security firmware was
receiving internal HW signals indicating that session key expirations
had occurred. Architecturally, the firmware was expecting a response
from the GuC to acknowledge the event with the firmware side.
However the OS was in a suspended state and GuC had been reset.
Internal specifications actually required the driver to ensure
that all active sessions be properly cleaned up in such cases where
the system is suspended and the GuC potentially unable to respond.
This patch adds the global teardown code in i915's suspend_prepare
code path.
v2 : Split __pxp_global_teardown_locked helper into two variants
for teardown-with-restart vs teardown-for-suspend/shutdown.
Signed-off-by: Alan Previn <[email protected]>
Reviewed-by: Juston Li <[email protected]>
Acked-by: Rodrigo Vivi <[email protected]>
Signed-off-by: Rodrigo Vivi <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions