drm/i915/gt: Support aux invalidation on all engines
authorAndi Shyti <andi.shyti@linux.intel.com>
Tue, 25 Jul 2023 00:19:50 +0000 (02:19 +0200)
committerAndi Shyti <andi.shyti@linux.intel.com>
Wed, 26 Jul 2023 12:35:32 +0000 (14:35 +0200)
commit76ff7789d6e63d1a10b3b58f5c70b2e640c7a880
tree59ba0bd7844e79eb35ab6ddf6de171d7b28dfb49
parentd459c86f00aa98028d155a012c65dc42f7c37e76
drm/i915/gt: Support aux invalidation on all engines

Perform some refactoring with the purpose of keeping in one
single place all the operations around the aux table
invalidation.

With this refactoring add more engines where the invalidation
should be performed.

Fixes: 972282c4cf24 ("drm/i915/gen12: Add aux table invalidate for all engines")
Signed-off-by: Andi Shyti <andi.shyti@linux.intel.com>
Cc: Jonathan Cavitt <jonathan.cavitt@intel.com>
Cc: Matt Roper <matthew.d.roper@intel.com>
Cc: <stable@vger.kernel.org> # v5.8+
Reviewed-by: Andrzej Hajda <andrzej.hajda@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230725001950.1014671-8-andi.shyti@linux.intel.com
drivers/gpu/drm/i915/gt/gen8_engine_cs.c
drivers/gpu/drm/i915/gt/gen8_engine_cs.h
drivers/gpu/drm/i915/gt/intel_lrc.c