Home
last modified time | relevance | path

Searched refs:RING_CTL_SIZE (Results 1 – 6 of 6) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/xe/regs/
Dxe_engine_regs.h55 #define RING_CTL_SIZE(size) ((size) - PAGE_SIZE) /* in bytes -> pages */ macro
56 #define RING_CTL_SIZE(size) ((size) - PAGE_SIZE) /* in bytes -> pages */ macro
/linux-6.12.1/drivers/gpu/drm/i915/gt/
Dintel_lrc.c1546 regs[CTX_RING_CTL] = RING_CTL_SIZE(ring->size) | RING_VALID; in lrc_update_regs()
1597 (RING_CTL_SIZE(ring->size) | RING_VALID)) { in lrc_check_regs()
1601 (u32)(RING_CTL_SIZE(ring->size) | RING_VALID)); in lrc_check_regs()
1602 regs[CTX_RING_CTL] = RING_CTL_SIZE(ring->size) | RING_VALID; in lrc_check_regs()
Dintel_ring.c153 GEM_BUG_ON(RING_CTL_SIZE(size) & ~RING_NR_PAGES); in intel_engine_create_ring()
Dintel_engine_regs.h20 #define RING_CTL_SIZE(size) ((size) - PAGE_SIZE) /* in bytes -> pages */ macro
Dintel_ring_submission.c238 RING_CTL_SIZE(ring->size) | RING_VALID); in xcs_resume()
/linux-6.12.1/drivers/gpu/drm/xe/
Dxe_lrc.c975 RING_CTL_SIZE(lrc->ring.size) | RING_VALID); in xe_lrc_init()
981 RING_CTL_SIZE(lrc->ring.size) | RING_VALID); in xe_lrc_init()