projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5918f01
)
drm/amd/pm: Update emit clock logic
author
Lijo Lazar
<lijo.lazar@amd.com>
Mon, 27 Apr 2026 11:47:41 +0000
(17:17 +0530)
committer
Alex Deucher
<alexander.deucher@amd.com>
Tue, 28 Apr 2026 18:31:01 +0000
(14:31 -0400)
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>
drivers/gpu/drm/amd/pm/swsmu/smu_cmn.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/pm/swsmu/smu_cmn.c
b/drivers/gpu/drm/amd/pm/swsmu/smu_cmn.c
index
3d49e58
..
90c7127
100644
(file)
--- a/
drivers/gpu/drm/amd/pm/swsmu/smu_cmn.c
+++ b/
drivers/gpu/drm/amd/pm/swsmu/smu_cmn.c
@@
-1370,7
+1370,7
@@
int smu_cmn_print_dpm_clk_levels(struct smu_context *smu,
level_index = 1;
}
- if (!is_fine_grained) {
+ if (!is_fine_grained
|| count == 1
) {
for (i = 0; i < count; i++) {
freq_match = !is_deep_sleep &&
smu_cmn_freqs_match(