Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

drm/amd/pm: Update emit clock logic

If only one level is enabled in clock table, there is no need to
follow the fine grained clock logic which expects a minimum of
two levels (min/max).

Signed-off-by: Lijo Lazar <lijo.lazar@amd.com>
Reviewed-by: Asad Kamal <asad.kamal@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit 7f19097af1496dd908a044ca95862f32d05f02df)

authored by

Lijo Lazar and committed by
Alex Deucher
d6b99885 ec3e3976

+1 -1
+1 -1
drivers/gpu/drm/amd/pm/swsmu/smu_cmn.c
··· 1370 1370 level_index = 1; 1371 1371 } 1372 1372 1373 - if (!is_fine_grained) { 1373 + if (!is_fine_grained || count == 1) { 1374 1374 for (i = 0; i < count; i++) { 1375 1375 freq_match = !is_deep_sleep && 1376 1376 smu_cmn_freqs_match(