drm/amd/display: Add debug counters to IPS exit prints
authorNicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Wed, 21 Feb 2024 18:05:09 +0000 (13:05 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 20 Mar 2024 17:37:37 +0000 (13:37 -0400)
commite4251d110154b6c4090d0188404345ded4ecefbe
treeff90e490fad7c90c8d63db081123fe356274611b
parent27f03bc680ef7e0f18b4cacba96f29674d93d817
drm/amd/display: Add debug counters to IPS exit prints

[WHY]
To have a log of the entry/exit counters in case the system hangs to
measure stability.

[HOW]
Read them from firmware state and pass them to the prints.

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/dc_dmub_srv.c