Searched refs:RING_CTL_SIZE (Results 1 – 4 of 4) sorted by relevance
144 GEM_BUG_ON(RING_CTL_SIZE(size) & ~RING_NR_PAGES); in intel_engine_create_ring()
1236 (RING_CTL_SIZE(ring->size) | RING_VALID)) { in execlists_check_context()1240 (u32)(RING_CTL_SIZE(ring->size) | RING_VALID)); in execlists_check_context()1241 regs[CTX_RING_CTL] = RING_CTL_SIZE(ring->size) | RING_VALID; in execlists_check_context()3467 regs[CTX_RING_CTL] = RING_CTL_SIZE(ring->size) | RING_VALID; in __execlists_update_reg_state()5236 regs[CTX_RING_CTL] = RING_CTL_SIZE(ring->size) | RING_VALID; in init_common_reg_state()
287 ENGINE_WRITE(engine, RING_CTL, RING_CTL_SIZE(ring->size) | RING_VALID); in xcs_resume()
2512 #define RING_CTL_SIZE(size) ((size) - PAGE_SIZE) /* in bytes -> pages */ macro