]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite6453a3f67580c9e3c112fe52746579d5f479735
tree38a192cb985311ebccb5e40396cdfe168c74e3d2
parent56c349e4dca0b7399fc43d23df743d624806582d
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 aa6e7af94a81 ("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: aa6e7af94a81 ("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