]> 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>
Fri, 2 Jan 2026 11:57:26 +0000 (12:57 +0100)
commit7d5df9dd6343964e831847a0c18ea55a393bb2e3
tree6e425fc11c991fe6467c01e627e443fc78bb7cb1
parentede98c3943cd6141b6657e23b03a5ca838d3e8e4
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