aboutsummaryrefslogtreecommitdiff
path: root/fs/jbd2/commit.c
diff options
context:
space:
mode:
authorAnshuman Gupta <[email protected]>2021-09-24 12:14:48 -0700
committerRodrigo Vivi <[email protected]>2021-10-04 13:11:16 -0400
commitef6ba31dd3840588418e70f4dd63ce6022e1a254 (patch)
treedd11eac66e79206833246a81f706c152e24163e2 /fs/jbd2/commit.c
parent0cfab4cb3c4e90c1c2f4b18c0b8ac4cb946808c8 (diff)
drm/i915/pxp: Add plane decryption support
Add support to enable/disable PLANE_SURF Decryption Request bit. It requires only to enable plane decryption support when following condition met. 1. PXP session is enabled. 2. Buffer object is protected. v2: - Used gen fb obj user_flags instead gem_object_metadata. [Krishna] v3: - intel_pxp_gem_object_status() API changes. v4: use intel_pxp_is_active (Daniele) v5: rebase and use the new protected object status checker (Daniele) v6: used plane state for plane_decryption to handle async flip as suggested by Ville. v7: check pxp session while plane decrypt state computation. [Ville] removed pointless code. [Ville] v8 (Daniele): update PXP check v9: move decrypt check after icl_check_nv12_planes() when overlays have fb set (Juston) v10 (Daniele): update PXP check again to match rework in earlier patches and don't consider protection valid if the object has not been used in an execbuf beforehand. Cc: Bommu Krishnaiah <[email protected]> Cc: Huang Sean Z <[email protected]> Cc: Gaurav Kumar <[email protected]> Cc: Ville Syrjälä <[email protected]> Signed-off-by: Anshuman Gupta <[email protected]> Signed-off-by: Daniele Ceraolo Spurio <[email protected]> Signed-off-by: Juston Li <[email protected]> Reviewed-by: Rodrigo Vivi <[email protected]> Reviewed-by: Uma Shankar <[email protected]> #v9 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