]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
drm/amdgpu: 57-bit enable for watch address on gfx_v12_1
authorAlex Sierra <alex.sierra@amd.com>
Wed, 17 Dec 2025 13:35:10 +0000 (07:35 -0600)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 17 Mar 2026 14:31:21 +0000 (10:31 -0400)
Add 57-bit support for debugger set watch address API

Signed-off-by: Alex Sierra <alex.sierra@amd.com>
Co-authored-by: Alexey Kondratiev <Alexey.Kondratiev@amd.com>
Reviewed-by: Philip.Yang <Philip.Yang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v12_1.c

index 965c7e688535ab7d0d9b6ac6c0cd08bbf9cc3586..bcb180f9d3ff8add344aa895f5b034814ad03a7b 100644 (file)
@@ -330,7 +330,7 @@ static uint32_t kgd_gfx_v12_1_set_address_watch(struct amdgpu_device *adev,
 
        watch_address_cntl = 0;
        watch_address_low = lower_32_bits(watch_address);
-       watch_address_high = upper_32_bits(watch_address) & 0xffff;
+       watch_address_high = upper_32_bits(watch_address) & 0x1ffffff;
 
        watch_address_cntl = REG_SET_FIELD(watch_address_cntl,
                        TCP_WATCH0_CNTL,