drm/amd/display: Fix idle optimizations entry log
authorAurabindo Pillai <aurabindo.pillai@amd.com>
Wed, 16 Oct 2024 17:08:02 +0000 (13:08 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 28 Oct 2024 20:36:43 +0000 (16:36 -0400)
commit1b7ac448cc544f6a4f8543423d9c2b726f3313fd
tree7590743c680545e832ad72c57efc4f2ea13c12ec
parent7ef6f3ae4cd21a4ab86e04c7f11a6bdd92332b60
drm/amd/display: Fix idle optimizations entry log

[Why & How]
Whether we really enter idle optimizations are decided within DC.
Printing into dmesg before calling the DC API gives an incorrect
indication that we are entering idle optimization in cases where its
disabled manually.

To fix this, remove the print in DM and add them in DC

Reviewed-by: Alvin Lee <alvin.lee2@amd.com>
Signed-off-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: Tom Chung <chiahsuan.chung@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crtc.c
drivers/gpu/drm/amd/display/dc/core/dc.c