drm/amd: Fix initialization for nbio 4.3.0
authorMario Limonciello <mario.limonciello@amd.com>
Mon, 30 Jan 2023 16:16:06 +0000 (10:16 -0600)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 2 Feb 2023 03:45:51 +0000 (22:45 -0500)
commit5048fa1ebf89d03cf0ceca13fab8f800399e9ee3
tree9ed6ea99fcdce3bc0679ff05c6e4cc227d1ffe03
parentbb25849c0fa550b26cecc9c476c519a927c66898
drm/amd: Fix initialization for nbio 4.3.0

A mistake has been made on some boards with NBIO 4.3.0 where some
NBIO registers aren't properly set by the hardware.

Ensure that they're set during initialization.

Cc: Natikar Basavaraj <Basavaraj.Natikar@amd.com>
Tested-by: Satyanarayana ReddyTVN <Satyanarayana.ReddyTVN@amd.com>
Tested-by: Rutvij Gajjar <Rutvij.Gajjar@amd.com>
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org # 6.1.x
drivers/gpu/drm/amd/amdgpu/nbio_v4_3.c