]> Gentwo Git Trees - linux/.git/commit
drm/amd/display: Add interface to capture expected HW state from SW state
authorGeorge Shen <george.shen@amd.com>
Wed, 29 Oct 2025 15:27:32 +0000 (11:27 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 18 Nov 2025 15:49:49 +0000 (10:49 -0500)
commitb0ff344fe70cd2c97ec45396c361bfe9a8b77b1e
tree1daa8d95a208158ab28603ef456198f83b191741
parentf3a1d69f9b388271986f4efe1fd775df15b443c1
drm/amd/display: Add interface to capture expected HW state from SW state

[Why]
To debug certain issues, such as underflow, it is common practice to
dump the HW state of all registers for analysis. The first thing to
check with the dump is to ensure all values are programmed as expected
according to SW state.

[How]
Add interface to DC to capture expected HW register values based on SW
state.

Reviewed-by: Dillon Varone <dillon.varone@amd.com>
Signed-off-by: George Shen <george.shen@amd.com>
Signed-off-by: Ivan Lipski <ivan.lipski@amd.com>
Tested-by: Dan Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc.c
drivers/gpu/drm/amd/display/dc/dc.h