drm/i915: Do not cover all future platforms in TLB invalidation
authorTvrtko Ursulin <tvrtko.ursulin@intel.com>
Tue, 10 Jan 2023 11:35:33 +0000 (11:35 +0000)
committerTvrtko Ursulin <tvrtko.ursulin@intel.com>
Wed, 11 Jan 2023 09:20:23 +0000 (09:20 +0000)
commit3e95263dfb52d5e5b60fbdda51094c788c446f07
treec6c141f6be6e91ff75181c392c47c769ed17c894
parent10903b0a0f4d4964b352fa3df12d3d2ef5fb7a3b
drm/i915: Do not cover all future platforms in TLB invalidation

Revert to the original explicit approach and document the reasoning
behind it.

v2:
 * DG2 needs to be covered too. (Matt)

v3:
 * Full version check for Gen12 to avoid catching all future platforms.
   (Matt)

v4:
 * Be totally explicit on the Gen12 branch. (Andrzej)

Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Cc: Matt Roper <matthew.d.roper@intel.com>
Cc: Balasubramani Vivekanandan <balasubramani.vivekanandan@intel.com>
Cc: Andrzej Hajda <andrzej.hajda@intel.com>
Reviewed-by: Andrzej Hajda <andrzej.hajda@intel.com> # v1
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230110113533.744436-1-tvrtko.ursulin@linux.intel.com
drivers/gpu/drm/i915/gt/intel_gt.c