From: Alex Sierra Date: Wed, 17 Dec 2025 13:35:10 +0000 (-0600) Subject: drm/amdgpu: 57-bit enable for watch address on gfx_v12_1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f56e29b86389a67450aaac8b718576ca5451a8cb;p=thirdparty%2Flinux.git drm/amdgpu: 57-bit enable for watch address on gfx_v12_1 Add 57-bit support for debugger set watch address API Signed-off-by: Alex Sierra Co-authored-by: Alexey Kondratiev Reviewed-by: Philip.Yang Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v12_1.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v12_1.c index 965c7e688535a..bcb180f9d3ff8 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v12_1.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v12_1.c @@ -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,