drm/i915/lrc: User PXP contexts requires runalone bit in lrc
authorAlan Previn <alan.previn.teres.alexis@intel.com>
Sun, 17 Sep 2023 21:19:33 +0000 (14:19 -0700)
committerJohn Harrison <John.C.Harrison@Intel.com>
Tue, 19 Sep 2023 19:11:21 +0000 (12:11 -0700)
commitafddcbe41f049072b3c62d39ce474bd71b3a5212
tree0f757ec6e39d0e65d0e685fdec22a0936af6b43e
parentc14d446e25fe00a9fd29d317b07bd221fd6f49db
drm/i915/lrc: User PXP contexts requires runalone bit in lrc

On Meteorlake onwards, HW specs require that all user contexts that
run on render or compute engines and require PXP must enforce
run-alone bit in lrc. Add this enforcement for protected contexts.

Signed-off-by: Alan Previn <alan.previn.teres.alexis@intel.com>
Reviewed-by: Vivaik Balasubrawmanian <vivaik.balasubrawmanian@intel.com>
Signed-off-by: John Harrison <John.C.Harrison@Intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230917211933.1407559-4-alan.previn.teres.alexis@intel.com
drivers/gpu/drm/i915/gt/intel_engine_regs.h
drivers/gpu/drm/i915/gt/intel_lrc.c