/linux-6.6.21/drivers/gpu/drm/i915/gt/ |
D | intel_lrc.c | 878 const u32 ggtt_offset = i915_ggtt_offset(wa_ctx->vma); in init_wa_bb_regs() 887 i915_ggtt_offset(wa_ctx->vma) + in init_wa_bb_regs() 1044 return i915_ggtt_offset(ce->state) + context_wa_bb_offset(ce); in lrc_indirect_bb() 1262 *cs++ = i915_ggtt_offset(ce->state) + LRC_STATE_OFFSET + in gen12_emit_timestamp_wa() 1290 *cs++ = i915_ggtt_offset(ce->state) + LRC_STATE_OFFSET + in gen12_emit_restore_scratch() 1306 *cs++ = i915_ggtt_offset(ce->state) + LRC_STATE_OFFSET + in gen12_emit_cmd_buf_wa() 1472 return i915_ggtt_offset(ce->state) | desc; in lrc_descriptor() 1485 regs[CTX_RING_START] = i915_ggtt_offset(ring->vma); in lrc_update_regs() 1528 if (regs[CTX_RING_START] != i915_ggtt_offset(ring->vma)) { in lrc_check_regs() 1532 i915_ggtt_offset(ring->vma)); in lrc_check_regs() [all …]
|
D | selftest_lrc.c | 81 i915_ggtt_offset(ce->engine->status_page.vma) + in emit_semaphore_signal() 445 *cs++ = i915_ggtt_offset(scratch) + RING_START_IDX * sizeof(u32); in __live_lrc_state() 448 expected[RING_START_IDX] = i915_ggtt_offset(ce->ring->vma); in __live_lrc_state() 452 *cs++ = i915_ggtt_offset(scratch) + RING_TAIL_IDX * sizeof(u32); in __live_lrc_state() 567 i915_ggtt_offset(ce->engine->status_page.vma) + in __gpr_read() 598 *cs++ = i915_ggtt_offset(scratch) + n * sizeof(u32); in __gpr_read() 740 i915_ggtt_offset(ce->engine->status_page.vma) + in create_timestamp() 1108 *cs++ = i915_ggtt_offset(ce->engine->status_page.vma) + in record_registers() 1241 *cs++ = i915_ggtt_offset(ce->engine->status_page.vma) + in poison_registers() 1588 *cs++ = i915_ggtt_offset(ce->state) + in emit_indirect_ctx_bb_canary()
|
D | intel_timeline.c | 209 i915_ggtt_offset(tl->hwsp_ggtt) + in intel_timeline_pin() 317 tl->hwsp_offset = i915_ggtt_offset(tl->hwsp_ggtt) + next_ofs; in __intel_timeline_get_seqno() 354 *hwsp = i915_ggtt_offset(tl->hwsp_ggtt) + in intel_timeline_read_hwsp()
|
D | intel_context_sseu.c | 27 offset = i915_ggtt_offset(ce->state) + in gen8_emit_rpcs_config()
|
D | selftest_mocs.c | 235 offset = i915_ggtt_offset(vma); in check_mocs_engine() 240 offset -= i915_ggtt_offset(vma); in check_mocs_engine()
|
D | intel_gt.h | 84 return i915_ggtt_offset(gt->scratch) + field; in intel_gt_scratch_offset()
|
D | intel_ring_submission.c | 139 set_hwsp(engine, i915_ggtt_offset(engine->status_page.vma)); in ring_setup_status_page() 223 ENGINE_WRITE_FW(engine, RING_START, i915_ggtt_offset(ring->vma)); in xcs_resume() 271 i915_ggtt_offset(ring->vma)); in xcs_resume() 758 *cs++ = i915_ggtt_offset(engine->kernel_context->state) | in mi_set_context() 765 *cs++ = i915_ggtt_offset(ce->state) | flags; in mi_set_context()
|
D | intel_renderstate.c | 89 so->batch_offset = i915_ggtt_offset(so->vma); in render_state_setup()
|
D | selftest_timeline.c | 854 w->addr = i915_ggtt_offset(vma); in setup_watcher() 889 w->addr = i915_ggtt_offset(w->vma); in create_watcher() 903 GEM_BUG_ON(w->addr - i915_ggtt_offset(w->vma) > w->vma->size); in check_watcher() 916 end = (w->addr - i915_ggtt_offset(w->vma)) / sizeof(*w->map); in check_watcher()
|
D | gen8_engine_cs.c | 420 return (i915_ggtt_offset(engine->status_page.vma) + in preempt_address() 748 return i915_ggtt_offset(rq->context->state) + in ccs_semaphore_offset()
|
D | selftest_execlists.c | 835 *cs++ = i915_ggtt_offset(vma) + 4 * idx; in emit_semaphore_chain() 840 *cs++ = i915_ggtt_offset(vma) + 4 * (idx - 1); in emit_semaphore_chain() 909 *cs++ = i915_ggtt_offset(vma) + 4 * (idx - 1); in release_queue() 1054 i915_ggtt_offset(ce->engine->status_page.vma) + in create_rewinder() 1620 *cs++ = i915_ggtt_offset(vma); in live_busywait_preempt() 1631 *cs++ = i915_ggtt_offset(vma); in live_busywait_preempt() 1670 *cs++ = i915_ggtt_offset(vma); in live_busywait_preempt() 3229 *cs++ = i915_ggtt_offset(global); in preempt_user() 4246 *cs++ = i915_ggtt_offset(scratch) + n * sizeof(u32); in preserved_virtual_engine()
|
D | selftest_engine_pm.c | 78 u32 offset = i915_ggtt_offset(engine->status_page.vma); in __measure_timestamps()
|
/linux-6.6.21/drivers/gpu/drm/i915/gem/selftests/ |
D | i915_gem_coherency.c | 226 *cs++ = lower_32_bits(i915_ggtt_offset(vma) + offset); in gpu_set() 227 *cs++ = upper_32_bits(i915_ggtt_offset(vma) + offset); in gpu_set() 232 *cs++ = i915_ggtt_offset(vma) + offset; in gpu_set() 236 *cs++ = i915_ggtt_offset(vma) + offset; in gpu_set()
|
/linux-6.6.21/drivers/gpu/drm/i915/selftests/ |
D | i915_perf.c | 245 i915_ggtt_offset(stream->noa_wait), 0, in live_noa_delay() 352 i915_ggtt_offset(stream->noa_wait), 0, in live_noa_gpr() 378 *cs++ = i915_ggtt_offset(rq->engine->status_page.vma) + in live_noa_gpr()
|
/linux-6.6.21/drivers/gpu/drm/i915/display/ |
D | intel_dsb.c | 250 i915_ggtt_offset(dsb->vma)); in intel_dsb_commit() 252 i915_ggtt_offset(dsb->vma) + tail); in intel_dsb_commit()
|
D | intel_overlay.c | 848 iowrite32(i915_ggtt_offset(vma) + params->offset_Y, ®s->OBUF_0Y); in intel_overlay_do_put_image() 865 iowrite32(i915_ggtt_offset(vma) + params->offset_U, in intel_overlay_do_put_image() 867 iowrite32(i915_ggtt_offset(vma) + params->offset_V, in intel_overlay_do_put_image() 1371 overlay->flip_addr = i915_ggtt_offset(vma); in get_registers()
|
D | intel_fbdev.c | 297 (unsigned long)(ggtt->gmadr.start + i915_ggtt_offset(vma)); in intelfb_create() 335 i915_ggtt_offset(vma)); in intelfb_create()
|
/linux-6.6.21/drivers/gpu/drm/i915/gt/uc/ |
D | intel_gsc_fw.c | 220 u32 offset = i915_ggtt_offset(gsc->local); in emit_gsc_fw_load() 361 offset = i915_ggtt_offset(vma); in gsc_fw_query_compatibility_version()
|
D | intel_huc_fw.c | 42 pkt_offset = i915_ggtt_offset(huc->heci_pkt); in intel_huc_fw_auth_via_gsccs()
|
D | intel_guc.h | 374 u32 offset = i915_ggtt_offset(vma); in intel_guc_ggtt_offset()
|
D | intel_gsc_proxy.c | 127 u64 addr_in = i915_ggtt_offset(gsc->proxy.vma); in proxy_send_to_gsc()
|
D | intel_guc_submission.c | 2627 desc->process_desc = i915_ggtt_offset(ce->state) + in prepare_context_registration_info_v69() 2629 desc->wq_addr = i915_ggtt_offset(ce->state) + in prepare_context_registration_info_v69() 2700 wq_desc_offset = i915_ggtt_offset(ce->state) + in prepare_context_registration_info_v70() 2702 wq_base_offset = i915_ggtt_offset(ce->state) + in prepare_context_registration_info_v70() 2801 if (i915_ggtt_offset(ce->state) != in __guc_context_pin() 4142 i915_ggtt_offset(engine->status_page.vma)); in setup_hwsp() 5187 return i915_ggtt_offset(ce->state) + in get_children_go_addr() 5197 return i915_ggtt_offset(ce->state) + in get_children_join_addr()
|
/linux-6.6.21/drivers/gpu/drm/i915/ |
D | i915_perf.c | 543 u32 gtt_offset = i915_ggtt_offset(stream->oa_buffer.vma); in oa_buffer_check_unlocked() 738 u32 gtt_offset = i915_ggtt_offset(stream->oa_buffer.vma); in gen8_append_oa_reports() 1056 u32 gtt_offset = i915_ggtt_offset(stream->oa_buffer.vma); in gen7_append_oa_reports() 1406 i915_ggtt_offset(scratch)); in gen12_guc_sw_ctx_id() 1578 stream->specific_ctx_id = i915_ggtt_offset(ce->state); in oa_get_render_ctx_id() 1732 u32 gtt_offset = i915_ggtt_offset(stream->oa_buffer.vma); in gen7_init_oa_buffer() 1777 u32 gtt_offset = i915_ggtt_offset(stream->oa_buffer.vma); in gen8_init_oa_buffer() 1830 u32 gtt_offset = i915_ggtt_offset(stream->oa_buffer.vma); in gen12_init_oa_buffer() 1958 *cs++ = i915_ggtt_offset(stream->noa_wait) + offset + 4 * d; in save_restore_register() 2106 *cs++ = i915_ggtt_offset(vma) + (ts0 - batch) * 4; in alloc_noa_wait() [all …]
|
D | i915_vma.h | 173 static inline u32 i915_ggtt_offset(const struct i915_vma *vma) in i915_ggtt_offset() function
|
/linux-6.6.21/drivers/gpu/drm/i915/gem/ |
D | i915_gem_tiling.c | 175 if (!IS_ALIGNED(i915_ggtt_offset(vma), alignment)) in i915_vma_fence_prepare()
|