Home
last modified time | relevance | path

Searched refs:rmmio_remap (Results 1 – 17 of 17) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/
Dnbio_v7_0.c39 adev->rmmio_remap.reg_offset + KFD_MMIO_REMAP_HDP_MEM_FLUSH_CNTL); in nbio_v7_0_remap_hdp_registers()
41 adev->rmmio_remap.reg_offset + KFD_MMIO_REMAP_HDP_REG_FLUSH_CNTL); in nbio_v7_0_remap_hdp_registers()
283 adev->rmmio_remap.reg_offset = MMIO_REG_HOLE_OFFSET; in nbio_v7_0_set_reg_remap()
284 adev->rmmio_remap.bus_addr = adev->rmmio_base + MMIO_REG_HOLE_OFFSET; in nbio_v7_0_set_reg_remap()
286 adev->rmmio_remap.reg_offset = in nbio_v7_0_set_reg_remap()
288 adev->rmmio_remap.bus_addr = 0; in nbio_v7_0_set_reg_remap()
Dnbio_v7_7.c34 adev->rmmio_remap.reg_offset + KFD_MMIO_REMAP_HDP_MEM_FLUSH_CNTL); in nbio_v7_7_remap_hdp_registers()
36 adev->rmmio_remap.reg_offset + KFD_MMIO_REMAP_HDP_REG_FLUSH_CNTL); in nbio_v7_7_remap_hdp_registers()
338 adev->rmmio_remap.reg_offset = MMIO_REG_HOLE_OFFSET; in nbio_v7_7_set_reg_remap()
339 adev->rmmio_remap.bus_addr = adev->rmmio_base + MMIO_REG_HOLE_OFFSET; in nbio_v7_7_set_reg_remap()
341 adev->rmmio_remap.reg_offset = in nbio_v7_7_set_reg_remap()
344 adev->rmmio_remap.bus_addr = 0; in nbio_v7_7_set_reg_remap()
Dnbio_v7_11.c34 adev->rmmio_remap.reg_offset + KFD_MMIO_REMAP_HDP_MEM_FLUSH_CNTL); in nbio_v7_11_remap_hdp_registers()
36 adev->rmmio_remap.reg_offset + KFD_MMIO_REMAP_HDP_REG_FLUSH_CNTL); in nbio_v7_11_remap_hdp_registers()
360 adev->rmmio_remap.reg_offset = MMIO_REG_HOLE_OFFSET; in nbio_v7_11_set_reg_remap()
361 adev->rmmio_remap.bus_addr = adev->rmmio_base + MMIO_REG_HOLE_OFFSET; in nbio_v7_11_set_reg_remap()
363 adev->rmmio_remap.reg_offset = in nbio_v7_11_set_reg_remap()
365 adev->rmmio_remap.bus_addr = 0; in nbio_v7_11_set_reg_remap()
Dnbio_v7_2.c53 adev->rmmio_remap.reg_offset + KFD_MMIO_REMAP_HDP_MEM_FLUSH_CNTL); in nbio_v7_2_remap_hdp_registers()
55 adev->rmmio_remap.reg_offset + KFD_MMIO_REMAP_HDP_REG_FLUSH_CNTL); in nbio_v7_2_remap_hdp_registers()
412 adev->rmmio_remap.reg_offset = MMIO_REG_HOLE_OFFSET; in nbio_v7_2_set_reg_remap()
413 adev->rmmio_remap.bus_addr = adev->rmmio_base + MMIO_REG_HOLE_OFFSET; in nbio_v7_2_set_reg_remap()
415 adev->rmmio_remap.reg_offset = in nbio_v7_2_set_reg_remap()
418 adev->rmmio_remap.bus_addr = 0; in nbio_v7_2_set_reg_remap()
Dnbio_v6_1.c59 adev->rmmio_remap.reg_offset + KFD_MMIO_REMAP_HDP_MEM_FLUSH_CNTL); in nbio_v6_1_remap_hdp_registers()
61 adev->rmmio_remap.reg_offset + KFD_MMIO_REMAP_HDP_REG_FLUSH_CNTL); in nbio_v6_1_remap_hdp_registers()
398 adev->rmmio_remap.reg_offset = MMIO_REG_HOLE_OFFSET; in nbio_v6_1_set_reg_remap()
399 adev->rmmio_remap.bus_addr = adev->rmmio_base + MMIO_REG_HOLE_OFFSET; in nbio_v6_1_set_reg_remap()
401 adev->rmmio_remap.reg_offset = in nbio_v6_1_set_reg_remap()
404 adev->rmmio_remap.bus_addr = 0; in nbio_v6_1_set_reg_remap()
Dnbif_v6_3_1.c36 adev->rmmio_remap.reg_offset + KFD_MMIO_REMAP_HDP_MEM_FLUSH_CNTL); in nbif_v6_3_1_remap_hdp_registers()
38 adev->rmmio_remap.reg_offset + KFD_MMIO_REMAP_HDP_REG_FLUSH_CNTL); in nbif_v6_3_1_remap_hdp_registers()
441 adev->rmmio_remap.reg_offset = MMIO_REG_HOLE_OFFSET; in nbif_v6_3_1_set_reg_remap()
442 adev->rmmio_remap.bus_addr = adev->rmmio_base + MMIO_REG_HOLE_OFFSET; in nbif_v6_3_1_set_reg_remap()
444 adev->rmmio_remap.reg_offset = SOC15_REG_OFFSET(NBIO, 0, in nbif_v6_3_1_set_reg_remap()
446 adev->rmmio_remap.bus_addr = 0; in nbif_v6_3_1_set_reg_remap()
Dnbio_v2_3.c70 adev->rmmio_remap.reg_offset + KFD_MMIO_REMAP_HDP_MEM_FLUSH_CNTL); in nbio_v2_3_remap_hdp_registers()
72 adev->rmmio_remap.reg_offset + KFD_MMIO_REMAP_HDP_REG_FLUSH_CNTL); in nbio_v2_3_remap_hdp_registers()
557 adev->rmmio_remap.reg_offset = MMIO_REG_HOLE_OFFSET; in nbio_v2_3_set_reg_remap()
558 adev->rmmio_remap.bus_addr = adev->rmmio_base + MMIO_REG_HOLE_OFFSET; in nbio_v2_3_set_reg_remap()
560 adev->rmmio_remap.reg_offset = SOC15_REG_OFFSET(NBIO, 0, in nbio_v2_3_set_reg_remap()
562 adev->rmmio_remap.bus_addr = 0; in nbio_v2_3_set_reg_remap()
Dnbio_v7_9.c41 adev->rmmio_remap.reg_offset + KFD_MMIO_REMAP_HDP_MEM_FLUSH_CNTL); in nbio_v7_9_remap_hdp_registers()
43 adev->rmmio_remap.reg_offset + KFD_MMIO_REMAP_HDP_REG_FLUSH_CNTL); in nbio_v7_9_remap_hdp_registers()
477 adev->rmmio_remap.reg_offset = MMIO_REG_HOLE_OFFSET; in nbio_v7_9_set_reg_remap()
478 adev->rmmio_remap.bus_addr = adev->rmmio_base + MMIO_REG_HOLE_OFFSET; in nbio_v7_9_set_reg_remap()
480 adev->rmmio_remap.reg_offset = in nbio_v7_9_set_reg_remap()
485 adev->rmmio_remap.bus_addr = 0; in nbio_v7_9_set_reg_remap()
Dnbio_v4_3.c35 adev->rmmio_remap.reg_offset + KFD_MMIO_REMAP_HDP_MEM_FLUSH_CNTL); in nbio_v4_3_remap_hdp_registers()
37 adev->rmmio_remap.reg_offset + KFD_MMIO_REMAP_HDP_REG_FLUSH_CNTL); in nbio_v4_3_remap_hdp_registers()
480 adev->rmmio_remap.reg_offset = MMIO_REG_HOLE_OFFSET; in nbio_v4_3_set_reg_remap()
481 adev->rmmio_remap.bus_addr = adev->rmmio_base + MMIO_REG_HOLE_OFFSET; in nbio_v4_3_set_reg_remap()
483 adev->rmmio_remap.reg_offset = SOC15_REG_OFFSET(NBIO, 0, in nbio_v4_3_set_reg_remap()
485 adev->rmmio_remap.bus_addr = 0; in nbio_v4_3_set_reg_remap()
Dhdp_v7_0.c35 WREG32((adev->rmmio_remap.reg_offset + KFD_MMIO_REMAP_HDP_MEM_FLUSH_CNTL) >> 2, 0); in hdp_v7_0_flush_hdp()
37 …amdgpu_ring_emit_wreg(ring, (adev->rmmio_remap.reg_offset + KFD_MMIO_REMAP_HDP_MEM_FLUSH_CNTL) >> … in hdp_v7_0_flush_hdp()
Dhdp_v6_0.c38 WREG32((adev->rmmio_remap.reg_offset + KFD_MMIO_REMAP_HDP_MEM_FLUSH_CNTL) >> 2, 0); in hdp_v6_0_flush_hdp()
40 …amdgpu_ring_emit_wreg(ring, (adev->rmmio_remap.reg_offset + KFD_MMIO_REMAP_HDP_MEM_FLUSH_CNTL) >> … in hdp_v6_0_flush_hdp()
Dhdp_v4_0.c44 WREG32((adev->rmmio_remap.reg_offset + KFD_MMIO_REMAP_HDP_MEM_FLUSH_CNTL) >> 2, 0); in hdp_v4_0_flush_hdp()
46 …amdgpu_ring_emit_wreg(ring, (adev->rmmio_remap.reg_offset + KFD_MMIO_REMAP_HDP_MEM_FLUSH_CNTL) >> … in hdp_v4_0_flush_hdp()
Dnbio_v7_4.c105 adev->rmmio_remap.reg_offset + KFD_MMIO_REMAP_HDP_MEM_FLUSH_CNTL); in nbio_v7_4_remap_hdp_registers()
107 adev->rmmio_remap.reg_offset + KFD_MMIO_REMAP_HDP_REG_FLUSH_CNTL); in nbio_v7_4_remap_hdp_registers()
797 adev->rmmio_remap.reg_offset = MMIO_REG_HOLE_OFFSET; in nbio_v7_4_set_reg_remap()
798 adev->rmmio_remap.bus_addr = adev->rmmio_base + MMIO_REG_HOLE_OFFSET; in nbio_v7_4_set_reg_remap()
800 adev->rmmio_remap.reg_offset = in nbio_v7_4_set_reg_remap()
803 adev->rmmio_remap.bus_addr = 0; in nbio_v7_4_set_reg_remap()
Dhdp_v5_2.c35 WREG32_NO_KIQ((adev->rmmio_remap.reg_offset + KFD_MMIO_REMAP_HDP_MEM_FLUSH_CNTL) >> 2, in hdp_v5_2_flush_hdp()
39 (adev->rmmio_remap.reg_offset + KFD_MMIO_REMAP_HDP_MEM_FLUSH_CNTL) >> 2, in hdp_v5_2_flush_hdp()
Dhdp_v5_0.c35 WREG32((adev->rmmio_remap.reg_offset + KFD_MMIO_REMAP_HDP_MEM_FLUSH_CNTL) >> 2, 0); in hdp_v5_0_flush_hdp()
37 …amdgpu_ring_emit_wreg(ring, (adev->rmmio_remap.reg_offset + KFD_MMIO_REMAP_HDP_MEM_FLUSH_CNTL) >> … in hdp_v5_0_flush_hdp()
Damdgpu.h880 struct amdgpu_mmio_remap rmmio_remap; member
/linux-6.12.1/drivers/gpu/drm/amd/amdkfd/
Dkfd_chardev.c1124 offset = dev->adev->rmmio_remap.bus_addr; in kfd_ioctl_alloc_memory_of_gpu()
2310 offset = pdd->dev->adev->rmmio_remap.bus_addr; in criu_restore_memory_of_gpu()
3361 address = dev->adev->rmmio_remap.bus_addr; in kfd_mmio_mmap()