Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/gpu/drm/i915/gt/
Dintel_ppgtt.c102 GEM_BUG_ON(atomic_read(px_used(pd)) > NALLOC * I915_PDES); in __set_pd_entry()
104 atomic_inc(px_used(pd)); in __set_pd_entry()
114 GEM_BUG_ON(atomic_read(px_used(pd)) == 0); in clear_pd_entry()
118 atomic_dec(px_used(pd)); in clear_pd_entry()
Dgen8_ppgtt.c61 atomic_inc(px_used(ppgtt->pd)); /* never remove */ in gen8_ppgtt_notify_vgt()
63 atomic_dec(px_used(ppgtt->pd)); in gen8_ppgtt_notify_vgt()
210 idx, len, atomic_read(px_used(pd))); in __gen8_ppgtt_clear()
211 GEM_BUG_ON(!len || len >= atomic_read(px_used(pd))); in __gen8_ppgtt_clear()
284 idx, len, atomic_read(px_used(pd))); in __gen8_ppgtt_alloc()
288 GEM_BUG_ON(!atomic_read(px_used(pd))); /* Must be pinned! */ in __gen8_ppgtt_alloc()
638 atomic_inc(px_used(pde)); /* keep pinned */ in gen8_preallocate_top_level_pdp()
670 atomic_inc(px_used(pd)); /* mark as pinned */ in gen8_alloc_top_pd()
Dintel_gtt.h183 #define px_used(px) (&px_pt(px)->used) macro