Searched refs:signaller (Results 1 - 3 of 3) sorted by relevance

/linux-4.4.14/drivers/gpu/drm/i915/
H A Dintel_ringbuffer.c1229 struct intel_engine_cs *signaller = signaller_req->ring; gen8_rcs_signal() local
1230 struct drm_device *dev = signaller->dev; gen8_rcs_signal()
1245 u64 gtt_offset = signaller->semaphore.signal_ggtt[i]; for_each_ring()
1250 intel_ring_emit(signaller, GFX_OP_PIPE_CONTROL(6)); for_each_ring()
1251 intel_ring_emit(signaller, PIPE_CONTROL_GLOBAL_GTT_IVB | for_each_ring()
1254 intel_ring_emit(signaller, lower_32_bits(gtt_offset)); for_each_ring()
1255 intel_ring_emit(signaller, upper_32_bits(gtt_offset)); for_each_ring()
1256 intel_ring_emit(signaller, seqno); for_each_ring()
1257 intel_ring_emit(signaller, 0); for_each_ring()
1258 intel_ring_emit(signaller, MI_SEMAPHORE_SIGNAL | for_each_ring()
1260 intel_ring_emit(signaller, 0); for_each_ring()
1270 struct intel_engine_cs *signaller = signaller_req->ring; gen8_xcs_signal() local
1271 struct drm_device *dev = signaller->dev; gen8_xcs_signal()
1286 u64 gtt_offset = signaller->semaphore.signal_ggtt[i]; for_each_ring()
1291 intel_ring_emit(signaller, (MI_FLUSH_DW + 1) | for_each_ring()
1293 intel_ring_emit(signaller, lower_32_bits(gtt_offset) | for_each_ring()
1295 intel_ring_emit(signaller, upper_32_bits(gtt_offset)); for_each_ring()
1296 intel_ring_emit(signaller, seqno); for_each_ring()
1297 intel_ring_emit(signaller, MI_SEMAPHORE_SIGNAL | for_each_ring()
1299 intel_ring_emit(signaller, 0); for_each_ring()
1308 struct intel_engine_cs *signaller = signaller_req->ring; gen6_signal() local
1309 struct drm_device *dev = signaller->dev; gen6_signal()
1324 u32 mbox_reg = signaller->semaphore.mbox.signal[i]; for_each_ring()
1327 intel_ring_emit(signaller, MI_LOAD_REGISTER_IMM(1)); for_each_ring()
1328 intel_ring_emit(signaller, mbox_reg); for_each_ring()
1329 intel_ring_emit(signaller, seqno); for_each_ring()
1335 intel_ring_emit(signaller, MI_NOOP);
1379 * intel_ring_sync - sync the waiter to the signaller on seqno
1382 * @signaller - ring which has, or will signal
1388 struct intel_engine_cs *signaller, gen8_ring_sync()
1405 lower_32_bits(GEN8_WAIT_OFFSET(waiter, signaller->id))); gen8_ring_sync()
1407 upper_32_bits(GEN8_WAIT_OFFSET(waiter, signaller->id))); gen8_ring_sync()
1414 struct intel_engine_cs *signaller, gen6_ring_sync()
1421 u32 wait_mbox = signaller->semaphore.mbox.wait[waiter->id]; gen6_ring_sync()
1387 gen8_ring_sync(struct drm_i915_gem_request *waiter_req, struct intel_engine_cs *signaller, u32 seqno) gen8_ring_sync() argument
1413 gen6_ring_sync(struct drm_i915_gem_request *waiter_req, struct intel_engine_cs *signaller, u32 seqno) gen6_ring_sync() argument
H A Di915_gem_context.c554 struct intel_engine_cs *signaller; mi_set_context() local
557 for_each_ring(signaller, to_i915(ring->dev), i) { for_each_ring()
558 if (signaller == ring) for_each_ring()
561 intel_ring_emit(ring, RING_PSMI_CTL(signaller->mmio_base)); for_each_ring()
579 struct intel_engine_cs *signaller; local
582 for_each_ring(signaller, to_i915(ring->dev), i) { for_each_ring()
583 if (signaller == ring) for_each_ring()
586 intel_ring_emit(ring, RING_PSMI_CTL(signaller->mmio_base)); for_each_ring()
H A Di915_irq.c2756 struct intel_engine_cs *signaller; semaphore_wait_to_signaller_ring() local
2760 for_each_ring(signaller, dev_priv, i) { for_each_ring()
2761 if (ring == signaller) for_each_ring()
2764 if (offset == signaller->semaphore.signal_ggtt[ring->id]) for_each_ring()
2765 return signaller; for_each_ring()
2770 for_each_ring(signaller, dev_priv, i) { for_each_ring()
2771 if(ring == signaller) for_each_ring()
2774 if (sync_bits == signaller->semaphore.mbox.wait[ring->id]) for_each_ring()
2775 return signaller; for_each_ring()
2779 DRM_ERROR("No signaller ring found for ring %i, ipehr 0x%08x, offset 0x%016llx\n",
2859 struct intel_engine_cs *signaller; semaphore_passed() local
2864 signaller = semaphore_waits_for(ring, &seqno); semaphore_passed()
2865 if (signaller == NULL) semaphore_passed()
2869 if (signaller->hangcheck.deadlock >= I915_NUM_RINGS) semaphore_passed()
2872 if (i915_seqno_passed(signaller->get_seqno(signaller, false), seqno)) semaphore_passed()
2876 if (I915_READ_CTL(signaller) & RING_WAIT_SEMAPHORE && semaphore_passed()
2877 semaphore_passed(signaller) < 0) semaphore_passed()

Completed in 136 milliseconds