]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amd/display: Default IPS to RCG_IN_ACTIVE_IPS2_IN_OFF
authorLeo Li <sunpeng.li@amd.com>
Tue, 18 Mar 2025 22:05:05 +0000 (18:05 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 22 Apr 2025 20:50:45 +0000 (16:50 -0400)
commit6ed0dc3fd39558f48119daf8f99f835deb7d68da
treeed63151db95e62ae91cbc05ceaa5c6079d8fc070
parentd59bddce49bfd323f1218bb6c3ad314e5c4e8f9d
drm/amd/display: Default IPS to RCG_IN_ACTIVE_IPS2_IN_OFF

[Why]

Recent findings show negligible power savings between IPS2 and RCG
during static desktop. In fact, DCN related clocks are higher
when IPS2 is enabled vs RCG.

RCG_IN_ACTIVE is also the default policy for another OS supported by
DC, and it has faster entry/exit.

[How]

Remove previous logic that checked for IPS2 support, and just default
to `DMUB_IPS_RCG_IN_ACTIVE_IPS2_IN_OFF`.

Fixes: 199888aa25b3 ("drm/amd/display: Update IPS default mode for DCN35/DCN351")
Reviewed-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Zaeem Mohamed <zaeem.mohamed@amd.com>
Tested-by: Mark Broadworth <mark.broadworth@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit 8f772d79ef39b463ead00ef6f009bebada3a9d49)
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c