]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: pass a pointer for tlb seqno at vma_invalidate_tlb()
authorMauro Carvalho Chehab <mchehab@kernel.org>
Thu, 4 Aug 2022 07:37:22 +0000 (09:37 +0200)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Mon, 8 Aug 2022 18:54:20 +0000 (14:54 -0400)
commit7b977d3909ec33ad8638b370fc830a98540f8072
tree913b71eae5444e222869babb1e12bad56b338cf7
parent509bc0842d40caf1734f766c23b4f2d48c5dd9c9
drm/i915: pass a pointer for tlb seqno at vma_invalidate_tlb()

WRITE_ONCE() should happen at the original var, not on a local
copy of it.

Cc: stable@vger.kernel.org
Fixes: 29c135f93905 ("drm/i915/gt: Batch TLB invalidations")
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Reviewed-by: Andi Shyti <andi.shyti@linux.intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
[added cc-stable while merging it]
Link: https://patchwork.freedesktop.org/patch/msgid/f9550e6bacea10131ff40dd8981b69eb9251cdcd.1659598090.git.mchehab@kernel.org
(cherry picked from commit 3d037d99e61a1e7a3ae3d214146d88db349dd19f)
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/i915/gt/intel_ppgtt.c
drivers/gpu/drm/i915/i915_vma.c
drivers/gpu/drm/i915/i915_vma.h