Home
last modified time | relevance | path

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

/drivers/gpu/drm/i915/
Di915_dma.c53 #define LP_RING(d) (&((struct drm_i915_private *)(d))->ring[RCS]) macro
56 intel_ring_begin(LP_RING(dev_priv), (n))
59 intel_ring_emit(LP_RING(dev_priv), x)
62 __intel_ring_advance(LP_RING(dev_priv))
71 if (LP_RING(dev->dev_private)->buffer->obj == NULL) \
81 return intel_read_status_page(LP_RING(dev_priv), reg); in intel_read_legacy_status_page()
127 struct intel_engine_cs *ring = LP_RING(dev_priv); in i915_free_hws()
147 struct intel_engine_cs *ring = LP_RING(dev_priv); in i915_kernel_lost_context()
210 if (LP_RING(dev_priv)->buffer->obj != NULL) { in i915_initialize()
243 struct intel_engine_cs *ring = LP_RING(dev_priv); in i915_dma_resume()
[all …]
/drivers/gpu/drm/i810/
Di810_drv.h162 I810_WRITE(LP_RING + RING_TAIL, outring); \
193 #define LP_RING 0x2030 macro
Di810_dma.c242 unsigned int last_head = I810_READ(LP_RING + RING_HEAD) & HEAD_ADDR; in i810_wait_ring()
246 ring->head = I810_READ(LP_RING + RING_HEAD) & HEAD_ADDR; in i810_wait_ring()
274 ring->head = I810_READ(LP_RING + RING_HEAD) & HEAD_ADDR; in i810_kernel_lost_context()
275 ring->tail = I810_READ(LP_RING + RING_TAIL); in i810_kernel_lost_context()