drm/amd/display: Add debug prints for IPS testing
authorNicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Thu, 15 Feb 2024 16:10:18 +0000 (11:10 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 20 Mar 2024 17:37:37 +0000 (13:37 -0400)
commit460ea5b3b61604171e6668ce1db2d640c4c8ae7f
tree326448905dcd251567cbf7d9449b5f5aaff432e1
parent2f72e02f2f54a3ccee7808db80ff8ae474a5fcba
drm/amd/display: Add debug prints for IPS testing

[WHY]
To log commit states and when we transition in/out of allow and idle
states and the caller.

[HOW]
Add a new logging helper and wrap idle optimization calls to receive
the caller.

Reviewed-by: Duncan Ma <duncan.ma@amd.com>
Acked-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@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/core/dc.c
drivers/gpu/drm/amd/display/dc/dc.h
drivers/gpu/drm/amd/display/dc/dc_dmub_srv.c
drivers/gpu/drm/amd/display/include/logger_types.h