]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 Aug 2022 12:41:06 +0000 (14:41 +0200)
commit3232df40a135280903d08046e17b6a7ad4f4eeb7
tree8e4a719dcebfa40b846f64b56ff906ca7fb77df6
parent3eab00933e5519b254a17cd335d9cae8f8ee56ad
drm/amdgpu: use the same HDP flush registers for all nbio 7.4.x

[ Upstream commit 912db6a58738e8be502838eb6a88f207ba356cd7 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
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