]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: use the same HDP flush registers for all nbio 7.4.x
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 12 Jul 2022 01:59:06 +0000 (21:59 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 18 Jul 2022 20:41:55 +0000 (16:41 -0400)
commit56c349e4dca0b7399fc43d23df743d624806582d
tree973e363ab3c9e7ec6151034ab867a946aa121061
parent3f7d8d679a067b1ebfe353ad8808651c4452f6d9
drm/amdgpu: use the same HDP flush registers for all nbio 7.4.x

Align aldebaran with all other asics.  One HDP bit per
SDMA instance, aligned with firmware.  This is effectively
a revert of
commit 0e222257dafb ("drm/amdgpu/nbio7.4: don't use GPU_HDP_FLUSH bit 12").
On further discussions with the relevant hardware teams,
re-align the bits for SDMA.

Fixes: 0e222257dafb ("drm/amdgpu/nbio7.4: don't use GPU_HDP_FLUSH bit 12")
Reviewed-by: Kent Russell <kent.russell@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
drivers/gpu/drm/amd/amdgpu/nbio_v7_4.c
drivers/gpu/drm/amd/amdgpu/nbio_v7_4.h