summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/gt/intel_gt.h
diff options
context:
space:
mode:
authorChris Wilson <chris.p.wilson@linux.intel.com>2023-08-01 17:19:52 +0300
committerAndi Shyti <andi.shyti@linux.intel.com>2023-08-02 16:40:11 +0300
commit568a2e6f0b12ee3750102032c665a183ac129f52 (patch)
treea1ce7fc29050ada655959f6c79a757912e147afa /drivers/gpu/drm/i915/gt/intel_gt.h
parentacf228cd3d749726cc6e2719a62d27aa26c3e430 (diff)
downloadlinux-568a2e6f0b12ee3750102032c665a183ac129f52.tar.xz
drm/i915/gt: Move TLB invalidation to its own file
Prepare for supporting more TLB invalidation scenarios by moving the current MMIO invalidation to its own file. Signed-off-by: Chris Wilson <chris.p.wilson@linux.intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org> 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/20230801141955.383305-2-andi.shyti@linux.intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/gt/intel_gt.h')
-rw-r--r--drivers/gpu/drm/i915/gt/intel_gt.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/drivers/gpu/drm/i915/gt/intel_gt.h b/drivers/gpu/drm/i915/gt/intel_gt.h
index d2f4fbde5f9f..6549e28fa219 100644
--- a/drivers/gpu/drm/i915/gt/intel_gt.h
+++ b/drivers/gpu/drm/i915/gt/intel_gt.h
@@ -107,16 +107,4 @@ void intel_gt_info_print(const struct intel_gt_info *info,
void intel_gt_watchdog_work(struct work_struct *work);
-static inline u32 intel_gt_tlb_seqno(const struct intel_gt *gt)
-{
- return seqprop_sequence(&gt->tlb.seqno);
-}
-
-static inline u32 intel_gt_next_invalidate_tlb_full(const struct intel_gt *gt)
-{
- return intel_gt_tlb_seqno(gt) | 1;
-}
-
-void intel_gt_invalidate_tlb(struct intel_gt *gt, u32 seqno);
-
#endif /* __INTEL_GT_H__ */