Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d967be9b authored by Alex Deucher's avatar Alex Deucher
Browse files

drm/radeon/ci: disable needless sclk changes



The current code always reprogrammed the sclk levels,
but we don't currently handle disp sclk requirements
so just skip it.

Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 7f6233ca
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3809,7 +3809,7 @@ static void ci_find_dpm_states_clocks_in_dpm_table(struct radeon_device *rdev,
		pi->need_update_smu7_dpm_table |= DPMTABLE_OD_UPDATE_SCLK;
	} else {
		/* XXX check display min clock requirements */
		if (0 != CISLAND_MINIMUM_ENGINE_CLOCK)
		if (CISLAND_MINIMUM_ENGINE_CLOCK != CISLAND_MINIMUM_ENGINE_CLOCK)
			pi->need_update_smu7_dpm_table |= DPMTABLE_UPDATE_SCLK;
	}