]> git.ipfire.org Git - thirdparty/linux.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)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 16 Dec 2025 19:11:41 +0000 (14:11 -0500)
commit69741d9ccc7222e6b6f138db67b012ecc0d72542
tree365cc68faff8689acfb05c860ad6ffcde98d2d1d
parent244a07c4862d5a2e3efd56241dc979ebf2b798a4
drm/amd/display: Fix scratch registers offsets for DCN35

[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
drivers/gpu/drm/amd/display/dc/resource/dcn35/dcn35_resource.c