drm/amdkfd: Add missing tba_hi programming on aldebaran
authorJay Cornwall <jay.cornwall@amd.com>
Wed, 9 Aug 2023 21:13:40 +0000 (16:13 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 15 Aug 2023 21:40:55 +0000 (17:40 -0400)
Previously asymptomatic because high 32 bits were zero.

Fixes: 96c211f1f9ef ("drm/amdkfd: Relocate TBA/TMA to opposite side of VM hole")
Signed-off-by: Jay Cornwall <jay.cornwall@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdkfd/kfd_packet_manager_v9.c

index 8fda16e6fee6cb925ad5ada0c7b32a7da9aab667..8ce6f5200905164a433e04c290c7f63f6ca05f5a 100644 (file)
@@ -121,6 +121,7 @@ static int pm_map_process_aldebaran(struct packet_manager *pm,
        packet->sh_mem_bases = qpd->sh_mem_bases;
        if (qpd->tba_addr) {
                packet->sq_shader_tba_lo = lower_32_bits(qpd->tba_addr >> 8);
+               packet->sq_shader_tba_hi = upper_32_bits(qpd->tba_addr >> 8);
                packet->sq_shader_tma_lo = lower_32_bits(qpd->tma_addr >> 8);
                packet->sq_shader_tma_hi = upper_32_bits(qpd->tma_addr >> 8);
        }