drm/amd: Fix initialization for nbio 7.5.1
authorMario Limonciello <mario.limonciello@amd.com>
Mon, 20 Feb 2023 05:04:04 +0000 (23:04 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 10 Mar 2023 08:34:32 +0000 (09:34 +0100)
commit749b249d1ba94d976b5f1e32fcd5059b45bc4c4a
tree1dd2d95577e12e757ab2a31fde6f14e07d4c5db8
parentbf119a3c9c9f1b01930e8798b59c791080bce90f
drm/amd: Fix initialization for nbio 7.5.1

commit 65a24000808f70ac69bd2a96381fa0c7341f20c0 upstream.

A mistake has been made in the BIOS for some ASICs with NBIO 7.5.1
where some NBIO registers aren't properly setup.

Ensure that they're set during initialization.

Tested-by: Richard Gong <richard.gong@amd.com>
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org # 6.1.x
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/amd/amdgpu/nbio_v7_2.c