]> 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)
commit73183ed7aca42940fb10e01cbde7a944da587a2e
tree973e363ab3c9e7ec6151034ab867a946aa121061
parentaf4481ca025fe6dcd56ed61f877d49e372c21fe5
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 8c0ec0f9ba3b ("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: 8c0ec0f9ba3b ("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