]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/xe/pxp: Add GSC session invalidation support
authorDaniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Wed, 29 Jan 2025 17:41:28 +0000 (09:41 -0800)
committerDaniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Mon, 3 Feb 2025 19:51:11 +0000 (11:51 -0800)
commit96e84a2f5a5ba0efaaefb0dd5072e4b2e7f31f0e
tree774d24b1b82c51986a3f7439091a9045e52a1bfa
parentf0c06677d1105a599370ffd0c94679996c3656f2
drm/xe/pxp: Add GSC session invalidation support

After a session is terminated, we need to inform the GSC so that it can
clean up its side of the allocation. This is done by sending an
invalidation command with the session ID.
The invalidation will be triggered in response to a termination,
interrupt, whose handling is coming in the next patch in the series.

v2: Better comment and error messages (John)

Signed-off-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Cc: John Harrison <John.C.Harrison@Intel.com>
Reviewed-by: John Harrison <John.C.Harrison@Intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250129174140.948829-5-daniele.ceraolospurio@intel.com
drivers/gpu/drm/xe/abi/gsc_pxp_commands_abi.h
drivers/gpu/drm/xe/xe_pxp_submit.c
drivers/gpu/drm/xe/xe_pxp_submit.h