/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/ |
D | psp_v11_0_8.c | 64 unsigned int psp_ring_reg = 0; in psp_v11_0_8_ring_create() local 76 psp_ring_reg = lower_32_bits(ring->ring_mem_mc_addr); in psp_v11_0_8_ring_create() 77 WREG32_SOC15(MP0, 0, mmMP0_SMN_C2PMSG_102, psp_ring_reg); in psp_v11_0_8_ring_create() 79 psp_ring_reg = upper_32_bits(ring->ring_mem_mc_addr); in psp_v11_0_8_ring_create() 80 WREG32_SOC15(MP0, 0, mmMP0_SMN_C2PMSG_103, psp_ring_reg); in psp_v11_0_8_ring_create() 103 psp_ring_reg = lower_32_bits(ring->ring_mem_mc_addr); in psp_v11_0_8_ring_create() 104 WREG32_SOC15(MP0, 0, mmMP0_SMN_C2PMSG_69, psp_ring_reg); in psp_v11_0_8_ring_create() 106 psp_ring_reg = upper_32_bits(ring->ring_mem_mc_addr); in psp_v11_0_8_ring_create() 107 WREG32_SOC15(MP0, 0, mmMP0_SMN_C2PMSG_70, psp_ring_reg); in psp_v11_0_8_ring_create() 109 psp_ring_reg = ring->ring_size; in psp_v11_0_8_ring_create() [all …]
|
D | psp_v10_0.c | 74 unsigned int psp_ring_reg = 0; in psp_v10_0_ring_create() local 79 psp_ring_reg = lower_32_bits(ring->ring_mem_mc_addr); in psp_v10_0_ring_create() 80 WREG32_SOC15(MP0, 0, mmMP0_SMN_C2PMSG_69, psp_ring_reg); in psp_v10_0_ring_create() 82 psp_ring_reg = upper_32_bits(ring->ring_mem_mc_addr); in psp_v10_0_ring_create() 83 WREG32_SOC15(MP0, 0, mmMP0_SMN_C2PMSG_70, psp_ring_reg); in psp_v10_0_ring_create() 85 psp_ring_reg = ring->ring_size; in psp_v10_0_ring_create() 86 WREG32_SOC15(MP0, 0, mmMP0_SMN_C2PMSG_71, psp_ring_reg); in psp_v10_0_ring_create() 88 psp_ring_reg = ring_type; in psp_v10_0_ring_create() 89 psp_ring_reg = psp_ring_reg << 16; in psp_v10_0_ring_create() 90 WREG32_SOC15(MP0, 0, mmMP0_SMN_C2PMSG_64, psp_ring_reg); in psp_v10_0_ring_create() [all …]
|
D | psp_v3_1.c | 190 unsigned int psp_ring_reg = 0; in psp_v3_1_ring_create() local 205 psp_ring_reg = lower_32_bits(ring->ring_mem_mc_addr); in psp_v3_1_ring_create() 206 WREG32_SOC15(MP0, 0, mmMP0_SMN_C2PMSG_102, psp_ring_reg); in psp_v3_1_ring_create() 208 psp_ring_reg = upper_32_bits(ring->ring_mem_mc_addr); in psp_v3_1_ring_create() 209 WREG32_SOC15(MP0, 0, mmMP0_SMN_C2PMSG_103, psp_ring_reg); in psp_v3_1_ring_create() 212 psp_ring_reg = ring_type; in psp_v3_1_ring_create() 213 psp_ring_reg = psp_ring_reg << 16; in psp_v3_1_ring_create() 214 WREG32_SOC15(MP0, 0, mmMP0_SMN_C2PMSG_101, psp_ring_reg); in psp_v3_1_ring_create() 226 psp_ring_reg = lower_32_bits(ring->ring_mem_mc_addr); in psp_v3_1_ring_create() 227 WREG32_SOC15(MP0, 0, mmMP0_SMN_C2PMSG_69, psp_ring_reg); in psp_v3_1_ring_create() [all …]
|
D | psp_v12_0.c | 185 unsigned int psp_ring_reg = 0; in psp_v12_0_ring_create() local 193 psp_ring_reg = lower_32_bits(ring->ring_mem_mc_addr); in psp_v12_0_ring_create() 194 WREG32_SOC15(MP0, 0, mmMP0_SMN_C2PMSG_102, psp_ring_reg); in psp_v12_0_ring_create() 196 psp_ring_reg = upper_32_bits(ring->ring_mem_mc_addr); in psp_v12_0_ring_create() 197 WREG32_SOC15(MP0, 0, mmMP0_SMN_C2PMSG_103, psp_ring_reg); in psp_v12_0_ring_create() 212 psp_ring_reg = lower_32_bits(ring->ring_mem_mc_addr); in psp_v12_0_ring_create() 213 WREG32_SOC15(MP0, 0, mmMP0_SMN_C2PMSG_69, psp_ring_reg); in psp_v12_0_ring_create() 215 psp_ring_reg = upper_32_bits(ring->ring_mem_mc_addr); in psp_v12_0_ring_create() 216 WREG32_SOC15(MP0, 0, mmMP0_SMN_C2PMSG_70, psp_ring_reg); in psp_v12_0_ring_create() 218 psp_ring_reg = ring->ring_size; in psp_v12_0_ring_create() [all …]
|
D | psp_v13_0_4.c | 227 unsigned int psp_ring_reg = 0; in psp_v13_0_4_ring_create() local 239 psp_ring_reg = lower_32_bits(ring->ring_mem_mc_addr); in psp_v13_0_4_ring_create() 240 WREG32_SOC15(MP0, 0, regMP0_SMN_C2PMSG_102, psp_ring_reg); in psp_v13_0_4_ring_create() 242 psp_ring_reg = upper_32_bits(ring->ring_mem_mc_addr); in psp_v13_0_4_ring_create() 243 WREG32_SOC15(MP0, 0, regMP0_SMN_C2PMSG_103, psp_ring_reg); in psp_v13_0_4_ring_create() 266 psp_ring_reg = lower_32_bits(ring->ring_mem_mc_addr); in psp_v13_0_4_ring_create() 267 WREG32_SOC15(MP0, 0, regMP0_SMN_C2PMSG_69, psp_ring_reg); in psp_v13_0_4_ring_create() 269 psp_ring_reg = upper_32_bits(ring->ring_mem_mc_addr); in psp_v13_0_4_ring_create() 270 WREG32_SOC15(MP0, 0, regMP0_SMN_C2PMSG_70, psp_ring_reg); in psp_v13_0_4_ring_create() 272 psp_ring_reg = ring->ring_size; in psp_v13_0_4_ring_create() [all …]
|
D | psp_v11_0.c | 292 unsigned int psp_ring_reg = 0; in psp_v11_0_ring_create() local 305 psp_ring_reg = lower_32_bits(ring->ring_mem_mc_addr); in psp_v11_0_ring_create() 306 WREG32_SOC15(MP0, 0, mmMP0_SMN_C2PMSG_102, psp_ring_reg); in psp_v11_0_ring_create() 308 psp_ring_reg = upper_32_bits(ring->ring_mem_mc_addr); in psp_v11_0_ring_create() 309 WREG32_SOC15(MP0, 0, mmMP0_SMN_C2PMSG_103, psp_ring_reg); in psp_v11_0_ring_create() 332 psp_ring_reg = lower_32_bits(ring->ring_mem_mc_addr); in psp_v11_0_ring_create() 333 WREG32_SOC15(MP0, 0, mmMP0_SMN_C2PMSG_69, psp_ring_reg); in psp_v11_0_ring_create() 335 psp_ring_reg = upper_32_bits(ring->ring_mem_mc_addr); in psp_v11_0_ring_create() 336 WREG32_SOC15(MP0, 0, mmMP0_SMN_C2PMSG_70, psp_ring_reg); in psp_v11_0_ring_create() 338 psp_ring_reg = ring->ring_size; in psp_v11_0_ring_create() [all …]
|
D | psp_v14_0.c | 261 unsigned int psp_ring_reg = 0; in psp_v14_0_ring_create() local 273 psp_ring_reg = lower_32_bits(ring->ring_mem_mc_addr); in psp_v14_0_ring_create() 274 WREG32_SOC15(MP0, 0, regMPASP_SMN_C2PMSG_102, psp_ring_reg); in psp_v14_0_ring_create() 276 psp_ring_reg = upper_32_bits(ring->ring_mem_mc_addr); in psp_v14_0_ring_create() 277 WREG32_SOC15(MP0, 0, regMPASP_SMN_C2PMSG_103, psp_ring_reg); in psp_v14_0_ring_create() 300 psp_ring_reg = lower_32_bits(ring->ring_mem_mc_addr); in psp_v14_0_ring_create() 301 WREG32_SOC15(MP0, 0, regMPASP_SMN_C2PMSG_69, psp_ring_reg); in psp_v14_0_ring_create() 303 psp_ring_reg = upper_32_bits(ring->ring_mem_mc_addr); in psp_v14_0_ring_create() 304 WREG32_SOC15(MP0, 0, regMPASP_SMN_C2PMSG_70, psp_ring_reg); in psp_v14_0_ring_create() 306 psp_ring_reg = ring->ring_size; in psp_v14_0_ring_create() [all …]
|
D | psp_v13_0.c | 373 unsigned int psp_ring_reg = 0; in psp_v13_0_ring_create() local 385 psp_ring_reg = lower_32_bits(ring->ring_mem_mc_addr); in psp_v13_0_ring_create() 386 WREG32_SOC15(MP0, 0, regMP0_SMN_C2PMSG_102, psp_ring_reg); in psp_v13_0_ring_create() 388 psp_ring_reg = upper_32_bits(ring->ring_mem_mc_addr); in psp_v13_0_ring_create() 389 WREG32_SOC15(MP0, 0, regMP0_SMN_C2PMSG_103, psp_ring_reg); in psp_v13_0_ring_create() 412 psp_ring_reg = lower_32_bits(ring->ring_mem_mc_addr); in psp_v13_0_ring_create() 413 WREG32_SOC15(MP0, 0, regMP0_SMN_C2PMSG_69, psp_ring_reg); in psp_v13_0_ring_create() 415 psp_ring_reg = upper_32_bits(ring->ring_mem_mc_addr); in psp_v13_0_ring_create() 416 WREG32_SOC15(MP0, 0, regMP0_SMN_C2PMSG_70, psp_ring_reg); in psp_v13_0_ring_create() 418 psp_ring_reg = ring->ring_size; in psp_v13_0_ring_create() [all …]
|