]> git.ipfire.org Git - people/ms/linux.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)
commit912db6a58738e8be502838eb6a88f207ba356cd7
tree973e363ab3c9e7ec6151034ab867a946aa121061
parent4c33e5179ff1a09cdfba38fa4fd260ae6735d3bb
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 a0f9f8546668 ("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: a0f9f8546668 ("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