Searched refs:px_used (Results 1 – 3 of 3) sorted by relevance
105 GEM_BUG_ON(atomic_read(px_used(pd)) > NALLOC * I915_PDES); in __set_pd_entry()107 atomic_inc(px_used(pd)); in __set_pd_entry()117 GEM_BUG_ON(atomic_read(px_used(pd)) == 0); in clear_pd_entry()121 atomic_dec(px_used(pd)); in clear_pd_entry()
96 atomic_inc(px_used(ppgtt->pd)); /* never remove */ in gen8_ppgtt_notify_vgt()98 atomic_dec(px_used(ppgtt->pd)); in gen8_ppgtt_notify_vgt()251 idx, len, atomic_read(px_used(pd))); in __gen8_ppgtt_clear()252 GEM_BUG_ON(!len || len >= atomic_read(px_used(pd))); in __gen8_ppgtt_clear()334 idx, len, atomic_read(px_used(pd))); in __gen8_ppgtt_alloc()338 GEM_BUG_ON(!atomic_read(px_used(pd))); /* Must be pinned! */ in __gen8_ppgtt_alloc()917 atomic_inc(px_used(pde)); /* keep pinned */ in gen8_preallocate_top_level_pdp()949 atomic_inc(px_used(pd)); /* mark as pinned */ in gen8_alloc_top_pd()
216 #define px_used(px) (&px_pt(px)->used) macro