drm/i915/guc: Enable PXP GuC autoteardown flow
authorJuston Li <juston.li@intel.com>
Fri, 6 Sep 2024 17:40:38 +0000 (10:40 -0700)
committerJohn Harrison <John.C.Harrison@Intel.com>
Mon, 14 Oct 2024 20:06:45 +0000 (13:06 -0700)
commitb05f9847ff359d1c44e06037dfa3847c44b60a65
tree06fc47b12374cf5d6cce3118af387e512b5851e1
parentaa944281bd00647dbef2f1b5e8a69e9ceebbc263
drm/i915/guc: Enable PXP GuC autoteardown flow

This feature flag enables GuC autoteardown which allows for a grace
period before session teardown.

Also add a HAS_PXP() helper to share with the other place that wants
to check.

Signed-off-by: Juston Li <juston.li@intel.com>
Signed-off-by: John Harrison <John.C.Harrison@Intel.com>
Reviewed-by: Alan Previn <alan.previn.teres.alexis@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240906174038.1468026-1-John.C.Harrison@Intel.com
drivers/gpu/drm/i915/gt/uc/intel_guc.c
drivers/gpu/drm/i915/gt/uc/intel_guc_fwif.h
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/pxp/intel_pxp.c