]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/amd/display: Fix scratch registers offsets for DCN35
authorRay Wu <ray.wu@amd.com>
Fri, 28 Nov 2025 00:58:13 +0000 (08:58 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 8 Jan 2026 09:14:26 +0000 (10:14 +0100)
commit29ff286cd52035143a817372c19a75a74c4b58af
tree076cdc7f922c2984cbda8b02ffd4e1c2e347cfb6
parent9e7d3b8542d14399dac897dc4226e93e7766fdce
drm/amd/display: Fix scratch registers offsets for DCN35

commit 69741d9ccc7222e6b6f138db67b012ecc0d72542 upstream.

[Why]
Different platforms use differnet NBIO header files,
causing display code to use differnt offset and read
wrong accelerated status.

[How]
- Unified NBIO offset header file across platform.
- Correct scratch registers offsets to proper locations.

Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/4667
Cc: Mario Limonciello <mario.limonciello@amd.com>
Cc: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Ray Wu <ray.wu@amd.com>
Signed-off-by: Chenyu Chen <chen-yu.chen@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit 49a63bc8eda0304ba307f5ba68305f936174f72d)
Cc: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/amd/display/dc/resource/dcn35/dcn35_resource.c