Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/gpu/drm/i915/gt/
Dintel_engine_cs.c835 acthd = ENGINE_READ(engine, RING_ACTHD); in intel_engine_get_active_head()
837 acthd = ENGINE_READ(engine, ACTHD); in intel_engine_get_active_head()
849 bbaddr = ENGINE_READ(engine, RING_BBADDR); in intel_engine_get_last_batch_head()
1020 if ((ENGINE_READ(engine, RING_HEAD) & HEAD_ADDR) != in ring_is_idle()
1021 (ENGINE_READ(engine, RING_TAIL) & TAIL_ADDR)) in ring_is_idle()
1026 !(ENGINE_READ(engine, RING_MI_MODE) & MODE_IDLE)) in ring_is_idle()
1204 drm_printf(m, "\tCCID: 0x%08x\n", ENGINE_READ(engine, CCID)); in intel_engine_print_registers()
1206 ENGINE_READ(engine, RING_START)); in intel_engine_print_registers()
1208 ENGINE_READ(engine, RING_HEAD) & HEAD_ADDR); in intel_engine_print_registers()
1210 ENGINE_READ(engine, RING_TAIL) & TAIL_ADDR); in intel_engine_print_registers()
[all …]
Dintel_ringbuffer.c580 WARN_ON((ENGINE_READ(engine, RING_MI_MODE) & MODE_IDLE) == 0); in flush_cs_tlb()
621 if (ENGINE_READ(engine, RING_HEAD) != in stop_ring()
622 ENGINE_READ(engine, RING_TAIL)) in stop_ring()
627 ENGINE_WRITE(engine, RING_HEAD, ENGINE_READ(engine, RING_TAIL)); in stop_ring()
635 return (ENGINE_READ(engine, RING_HEAD) & HEAD_ADDR) == 0; in stop_ring()
655 ENGINE_READ(engine, RING_CTL), in xcs_resume()
656 ENGINE_READ(engine, RING_HEAD), in xcs_resume()
657 ENGINE_READ(engine, RING_TAIL), in xcs_resume()
658 ENGINE_READ(engine, RING_START)); in xcs_resume()
664 ENGINE_READ(engine, RING_CTL), in xcs_resume()
[all …]
Dintel_hangcheck.c120 tmp = ENGINE_READ(engine, RING_CTL); in engine_stuck()
135 hc->ring = ENGINE_READ(engine, RING_START); in hangcheck_load_sample()
136 hc->head = ENGINE_READ(engine, RING_HEAD); in hangcheck_load_sample()
Dintel_engine.h51 #define ENGINE_READ(...) __ENGINE_READ_OP(read, __VA_ARGS__) macro
/Linux-v5.4/drivers/gpu/drm/i915/
Di915_gpu_error.c1069 ee->rc_psmi = ENGINE_READ(engine, RING_PSMI_CTL); in error_record_engine_registers()
1080 ee->faddr = ENGINE_READ(engine, RING_DMA_FADD); in error_record_engine_registers()
1081 ee->ipeir = ENGINE_READ(engine, RING_IPEIR); in error_record_engine_registers()
1082 ee->ipehr = ENGINE_READ(engine, RING_IPEHR); in error_record_engine_registers()
1083 ee->instps = ENGINE_READ(engine, RING_INSTPS); in error_record_engine_registers()
1084 ee->bbaddr = ENGINE_READ(engine, RING_BBADDR); in error_record_engine_registers()
1086 ee->faddr |= (u64)ENGINE_READ(engine, RING_DMA_FADD_UDW) << 32; in error_record_engine_registers()
1087 ee->bbaddr |= (u64)ENGINE_READ(engine, RING_BBADDR_UDW) << 32; in error_record_engine_registers()
1089 ee->bbstate = ENGINE_READ(engine, RING_BBSTATE); in error_record_engine_registers()
1091 ee->faddr = ENGINE_READ(engine, DMA_FADD_I8XX); in error_record_engine_registers()
[all …]
Di915_debugfs.c637 engine->name, ENGINE_READ(engine, RING_IMR)); in i915_interrupt_info()