drm/amdgpu: use the same HDP flush registers for all nbio 2.3.x
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 12 Jul 2022 02:04:56 +0000 (22:04 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 18 Jul 2022 20:42:18 +0000 (16:42 -0400)
commit98a90f1f0fdd112b85b16ef6ceee69f319ab9311
tree38a192cb985311ebccb5e40396cdfe168c74e3d2
parent912db6a58738e8be502838eb6a88f207ba356cd7
drm/amdgpu: use the same HDP flush registers for all nbio 2.3.x

Align RDNA2.x with other asics.  One HDP bit per SDMA instance,
aligned with firmware.  This is effectively a revert of
commit 369b7d04baf3 ("drm/amdgpu/nbio2.3: don't use GPU_HDP_FLUSH bit 12").
On further discussions with the relevant hardware teams,
re-align the bits for SDMA.

Fixes: 369b7d04baf3 ("drm/amdgpu/nbio2.3: 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_v2_3.c
drivers/gpu/drm/amd/amdgpu/nbio_v2_3.h