/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/ |
D | psp_v11_0_8.c | 90 unsigned int psp_ring_reg = 0; in psp_v11_0_8_ring_create() local 102 psp_ring_reg = lower_32_bits(ring->ring_mem_mc_addr); in psp_v11_0_8_ring_create() 103 WREG32_SOC15(MP0, 0, mmMP0_SMN_C2PMSG_102, psp_ring_reg); in psp_v11_0_8_ring_create() 105 psp_ring_reg = upper_32_bits(ring->ring_mem_mc_addr); in psp_v11_0_8_ring_create() 106 WREG32_SOC15(MP0, 0, mmMP0_SMN_C2PMSG_103, psp_ring_reg); in psp_v11_0_8_ring_create() 129 psp_ring_reg = lower_32_bits(ring->ring_mem_mc_addr); in psp_v11_0_8_ring_create() 130 WREG32_SOC15(MP0, 0, mmMP0_SMN_C2PMSG_69, psp_ring_reg); in psp_v11_0_8_ring_create() 132 psp_ring_reg = upper_32_bits(ring->ring_mem_mc_addr); in psp_v11_0_8_ring_create() 133 WREG32_SOC15(MP0, 0, mmMP0_SMN_C2PMSG_70, psp_ring_reg); in psp_v11_0_8_ring_create() 135 psp_ring_reg = ring->ring_size; in psp_v11_0_8_ring_create() [all …]
|
D | psp_v3_1.c | 224 unsigned int psp_ring_reg = 0; in psp_v3_1_ring_create() local 239 psp_ring_reg = lower_32_bits(ring->ring_mem_mc_addr); in psp_v3_1_ring_create() 240 WREG32_SOC15(MP0, 0, mmMP0_SMN_C2PMSG_102, psp_ring_reg); in psp_v3_1_ring_create() 242 psp_ring_reg = upper_32_bits(ring->ring_mem_mc_addr); in psp_v3_1_ring_create() 243 WREG32_SOC15(MP0, 0, mmMP0_SMN_C2PMSG_103, psp_ring_reg); in psp_v3_1_ring_create() 246 psp_ring_reg = ring_type; in psp_v3_1_ring_create() 247 psp_ring_reg = psp_ring_reg << 16; in psp_v3_1_ring_create() 248 WREG32_SOC15(MP0, 0, mmMP0_SMN_C2PMSG_101, psp_ring_reg); in psp_v3_1_ring_create() 260 psp_ring_reg = lower_32_bits(ring->ring_mem_mc_addr); in psp_v3_1_ring_create() 261 WREG32_SOC15(MP0, 0, mmMP0_SMN_C2PMSG_69, psp_ring_reg); in psp_v3_1_ring_create() [all …]
|
D | psp_v10_0.c | 159 unsigned int psp_ring_reg = 0; in psp_v10_0_ring_create() local 164 psp_ring_reg = lower_32_bits(ring->ring_mem_mc_addr); in psp_v10_0_ring_create() 165 WREG32_SOC15(MP0, 0, mmMP0_SMN_C2PMSG_69, psp_ring_reg); in psp_v10_0_ring_create() 167 psp_ring_reg = upper_32_bits(ring->ring_mem_mc_addr); in psp_v10_0_ring_create() 168 WREG32_SOC15(MP0, 0, mmMP0_SMN_C2PMSG_70, psp_ring_reg); in psp_v10_0_ring_create() 170 psp_ring_reg = ring->ring_size; in psp_v10_0_ring_create() 171 WREG32_SOC15(MP0, 0, mmMP0_SMN_C2PMSG_71, psp_ring_reg); in psp_v10_0_ring_create() 173 psp_ring_reg = ring_type; in psp_v10_0_ring_create() 174 psp_ring_reg = psp_ring_reg << 16; in psp_v10_0_ring_create() 175 WREG32_SOC15(MP0, 0, mmMP0_SMN_C2PMSG_64, psp_ring_reg); in psp_v10_0_ring_create() [all …]
|
D | psp_v13_0_4.c | 261 unsigned int psp_ring_reg = 0; in psp_v13_0_4_ring_create() local 273 psp_ring_reg = lower_32_bits(ring->ring_mem_mc_addr); in psp_v13_0_4_ring_create() 274 WREG32_SOC15(MP0, 0, regMP0_SMN_C2PMSG_102, psp_ring_reg); in psp_v13_0_4_ring_create() 276 psp_ring_reg = upper_32_bits(ring->ring_mem_mc_addr); in psp_v13_0_4_ring_create() 277 WREG32_SOC15(MP0, 0, regMP0_SMN_C2PMSG_103, psp_ring_reg); in psp_v13_0_4_ring_create() 300 psp_ring_reg = lower_32_bits(ring->ring_mem_mc_addr); in psp_v13_0_4_ring_create() 301 WREG32_SOC15(MP0, 0, regMP0_SMN_C2PMSG_69, psp_ring_reg); in psp_v13_0_4_ring_create() 303 psp_ring_reg = upper_32_bits(ring->ring_mem_mc_addr); in psp_v13_0_4_ring_create() 304 WREG32_SOC15(MP0, 0, regMP0_SMN_C2PMSG_70, psp_ring_reg); in psp_v13_0_4_ring_create() 306 psp_ring_reg = ring->ring_size; in psp_v13_0_4_ring_create() [all …]
|
D | psp_v12_0.c | 271 unsigned int psp_ring_reg = 0; in psp_v12_0_ring_create() local 277 psp_ring_reg = lower_32_bits(ring->ring_mem_mc_addr); in psp_v12_0_ring_create() 278 WREG32_SOC15(MP0, 0, mmMP0_SMN_C2PMSG_102, psp_ring_reg); in psp_v12_0_ring_create() 280 psp_ring_reg = upper_32_bits(ring->ring_mem_mc_addr); in psp_v12_0_ring_create() 281 WREG32_SOC15(MP0, 0, mmMP0_SMN_C2PMSG_103, psp_ring_reg); in psp_v12_0_ring_create() 296 psp_ring_reg = lower_32_bits(ring->ring_mem_mc_addr); in psp_v12_0_ring_create() 297 WREG32_SOC15(MP0, 0, mmMP0_SMN_C2PMSG_69, psp_ring_reg); in psp_v12_0_ring_create() 299 psp_ring_reg = upper_32_bits(ring->ring_mem_mc_addr); in psp_v12_0_ring_create() 300 WREG32_SOC15(MP0, 0, mmMP0_SMN_C2PMSG_70, psp_ring_reg); in psp_v12_0_ring_create() 302 psp_ring_reg = ring->ring_size; in psp_v12_0_ring_create() [all …]
|
D | psp_v13_0.c | 333 unsigned int psp_ring_reg = 0; in psp_v13_0_ring_create() local 345 psp_ring_reg = lower_32_bits(ring->ring_mem_mc_addr); in psp_v13_0_ring_create() 346 WREG32_SOC15(MP0, 0, regMP0_SMN_C2PMSG_102, psp_ring_reg); in psp_v13_0_ring_create() 348 psp_ring_reg = upper_32_bits(ring->ring_mem_mc_addr); in psp_v13_0_ring_create() 349 WREG32_SOC15(MP0, 0, regMP0_SMN_C2PMSG_103, psp_ring_reg); in psp_v13_0_ring_create() 372 psp_ring_reg = lower_32_bits(ring->ring_mem_mc_addr); in psp_v13_0_ring_create() 373 WREG32_SOC15(MP0, 0, regMP0_SMN_C2PMSG_69, psp_ring_reg); in psp_v13_0_ring_create() 375 psp_ring_reg = upper_32_bits(ring->ring_mem_mc_addr); in psp_v13_0_ring_create() 376 WREG32_SOC15(MP0, 0, regMP0_SMN_C2PMSG_70, psp_ring_reg); in psp_v13_0_ring_create() 378 psp_ring_reg = ring->ring_size; in psp_v13_0_ring_create() [all …]
|
D | psp_v11_0.c | 421 unsigned int psp_ring_reg = 0; in psp_v11_0_ring_create() local 434 psp_ring_reg = lower_32_bits(ring->ring_mem_mc_addr); in psp_v11_0_ring_create() 435 WREG32_SOC15(MP0, 0, mmMP0_SMN_C2PMSG_102, psp_ring_reg); in psp_v11_0_ring_create() 437 psp_ring_reg = upper_32_bits(ring->ring_mem_mc_addr); in psp_v11_0_ring_create() 438 WREG32_SOC15(MP0, 0, mmMP0_SMN_C2PMSG_103, psp_ring_reg); in psp_v11_0_ring_create() 461 psp_ring_reg = lower_32_bits(ring->ring_mem_mc_addr); in psp_v11_0_ring_create() 462 WREG32_SOC15(MP0, 0, mmMP0_SMN_C2PMSG_69, psp_ring_reg); in psp_v11_0_ring_create() 464 psp_ring_reg = upper_32_bits(ring->ring_mem_mc_addr); in psp_v11_0_ring_create() 465 WREG32_SOC15(MP0, 0, mmMP0_SMN_C2PMSG_70, psp_ring_reg); in psp_v11_0_ring_create() 467 psp_ring_reg = ring->ring_size; in psp_v11_0_ring_create() [all …]
|