mirror of
https://github.com/torvalds/linux.git
synced 2026-05-25 15:41:52 +02:00
drm/i915/gt: Use standard API for seqcount read in TLB invalidation
seqprop_sequence() is not intended for use outside seqlock.h. Although it is accessible as a macro, it is meant to be used only internally within the header. Replace it with its proper wrapper, raw_read_seqcount(). Signed-off-by: Andi Shyti <andi.shyti@linux.intel.com> Co-developed-by: Jani Nikula <jani.nikula@linux.intel.com> Signed-off-by: Jani Nikula <jani.nikula@linux.intel.com> Cc: Christoph Lameter (Ampere) <cl@gentwo.org> Reviewed-by: Sebastian Brzezinka <sebastian.brzezinka@intel.com> Link: https://lore.kernel.org/r/20251023132802.654061-1-andi.shyti@linux.intel.com
This commit is contained in:
parent
d4550f58c7
commit
3bcf7894a9
|
|
@ -18,7 +18,7 @@ void intel_gt_fini_tlb(struct intel_gt *gt);
|
|||
|
||||
static inline u32 intel_gt_tlb_seqno(const struct intel_gt *gt)
|
||||
{
|
||||
return seqprop_sequence(>->tlb.seqno);
|
||||
return raw_read_seqcount(>->tlb.seqno);
|
||||
}
|
||||
|
||||
static inline u32 intel_gt_next_invalidate_tlb_full(const struct intel_gt *gt)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user