]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amd/display: Fix scratch registers offsets for DCN351
authorRay Wu <ray.wu@amd.com>
Fri, 28 Nov 2025 01:14:09 +0000 (09:14 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 16 Dec 2025 18:24:31 +0000 (13:24 -0500)
commit576e032e909c8a6bb3d907b4ef5f6abe0f644199
tree8c768617f37a02769fe1b9e6614fd35640a78e1c
parent49a63bc8eda0304ba307f5ba68305f936174f72d
drm/amd/display: Fix scratch registers offsets for DCN351

[Why]
Different platforms use different 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>
drivers/gpu/drm/amd/display/dc/resource/dcn351/dcn351_resource.c