drm/amdkfd: workaround address watch clearing bug for gfx v9.4.2
authorEric Huang <jinhuieric.huang@amd.com>
Thu, 10 Aug 2023 20:01:30 +0000 (16:01 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 15 Aug 2023 22:08:27 +0000 (18:08 -0400)
commit3831989d62b11e3ef3fdcc44cbed57812082e8b0
tree8e33cfa551a0a76155fe9e9a07293252ca9a6308
parent97c2eba5d6fb33ada411ce92883823ddc080e40b
drm/amdkfd: workaround address watch clearing bug for gfx v9.4.2

KFD currently relies on MEC FW to clear tcp watch control
register on UNMAP_PROCESS, but FW doesn't work on it,
which is a bug. So the solution is to clear the register
as gfx v9 in KFD.

Signed-off-by: Eric Huang <jinhuieric.huang@amd.com>
Reviewed-by: Jonathan Kim <jonathan.kim@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_aldebaran.c