diff options
author | Huang, Sean Z <[email protected]> | 2021-09-24 12:14:47 -0700 |
---|---|---|
committer | Rodrigo Vivi <[email protected]> | 2021-10-04 13:11:11 -0400 |
commit | 0cfab4cb3c4e90c1c2f4b18c0b8ac4cb946808c8 (patch) | |
tree | 3ed348297ced5c1833ac0f78db6a521c933c2c67 /fs/jbd2/commit.c | |
parent | 32271ecd6596e67458c75d2d61805bb1c60d7363 (diff) |
drm/i915/pxp: Enable PXP power management
During the power event S3+ sleep/resume, hardware will lose all the
encryption keys for every hardware session, even though the
session state might still be marked as alive after resume. Therefore,
we should consider the session as dead on suspend and invalidate all the
objects. The session will be automatically restarted on the first
protected submission on resume.
v2: runtime suspend also invalidates the keys
v3: fix return codes, simplify rpm ops (Chris), use the new worker func
v4: invalidate the objects on suspend, don't re-create the arb sesson on
resume (delayed to first submission).
v5: move irq changes back to irq patch (Rodrigo)
v6: drop invalidation in runtime suspend (Rodrigo)
Signed-off-by: Huang, Sean Z <[email protected]>
Signed-off-by: Daniele Ceraolo Spurio <[email protected]>
Cc: Chris Wilson <[email protected]>
Cc: Rodrigo Vivi <[email protected]>
Reviewed-by: Rodrigo Vivi <[email protected]>
Signed-off-by: Rodrigo Vivi <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions