Home
last modified time | relevance | path

Searched refs:px_used (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/drivers/gpu/drm/i915/gt/
Dintel_ppgtt.c104 GEM_BUG_ON(atomic_read(px_used(pd)) > NALLOC * I915_PDES); in __set_pd_entry()
106 atomic_inc(px_used(pd)); in __set_pd_entry()
116 GEM_BUG_ON(atomic_read(px_used(pd)) == 0); in clear_pd_entry()
120 atomic_dec(px_used(pd)); in clear_pd_entry()
Dgen8_ppgtt.c66 atomic_inc(px_used(ppgtt->pd)); /* never remove */ in gen8_ppgtt_notify_vgt()
68 atomic_dec(px_used(ppgtt->pd)); in gen8_ppgtt_notify_vgt()
218 idx, len, atomic_read(px_used(pd))); in __gen8_ppgtt_clear()
219 GEM_BUG_ON(!len || len >= atomic_read(px_used(pd))); in __gen8_ppgtt_clear()
301 idx, len, atomic_read(px_used(pd))); in __gen8_ppgtt_alloc()
305 GEM_BUG_ON(!atomic_read(px_used(pd))); /* Must be pinned! */ in __gen8_ppgtt_alloc()
860 atomic_inc(px_used(pde)); /* keep pinned */ in gen8_preallocate_top_level_pdp()
892 atomic_inc(px_used(pd)); /* mark as pinned */ in gen8_alloc_top_pd()
Dintel_gtt.h198 #define px_used(px) (&px_pt(px)->used) macro