]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/i915: fix TLB invalidation for Gen12.50 video and compute engines
authorAndrzej Hajda <andrzej.hajda@intel.com>
Wed, 14 Dec 2022 07:54:39 +0000 (08:54 +0100)
committerAndi Shyti <andi.shyti@linux.intel.com>
Thu, 15 Dec 2022 10:09:24 +0000 (11:09 +0100)
commit4d5cf7b1680a1e6db327e3c935ef58325cbedb2c
treee84da6e79a3962414411f4a94fc6ebcb93f992dd
parent95df9cc24bee8a09d39c62bcef4319b984814e18
drm/i915: fix TLB invalidation for Gen12.50 video and compute engines

In case of Gen12.50 video and compute engines, TLB_INV registers are
masked - to modify one bit, corresponding bit in upper half of the register
must be enabled, otherwise nothing happens.

Fixes: 77fa9efc16a9 ("drm/i915/xehp: Create separate reg definitions for new MCR registers")
Signed-off-by: Andrzej Hajda <andrzej.hajda@intel.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Andi Shyti <andi.shyti@linux.intel.com>
Signed-off-by: Andi Shyti <andi.shyti@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20221214075439.402485-1-andrzej.hajda@intel.com
drivers/gpu/drm/i915/gt/intel_gt.c