artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
88ae9ba
)
drm/amdgpu/pm: make mclk consistent for smu 13.0.7
author
jsg
<jsg@openbsd.org>
Fri, 28 Jul 2023 06:33:27 +0000
(06:33 +0000)
committer
jsg
<jsg@openbsd.org>
Fri, 28 Jul 2023 06:33:27 +0000
(06:33 +0000)
From Alex Deucher
91bd7acf89cbc118e8d5e01947e59f7928e26893
in linux-6.1.y/6.1.42
068c8bb10f37bb84824625dbbda053a3a3e0d6e1
in mainline linux
sys/dev/pci/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c
patch
|
blob
|
history
diff --git
a/sys/dev/pci/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c
b/sys/dev/pci/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c
index
17a7b48
..
165992d
100644
(file)
--- a/
sys/dev/pci/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c
+++ b/
sys/dev/pci/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c
@@
-940,7
+940,7
@@
static int smu_v13_0_7_read_sensor(struct smu_context *smu,
break;
case AMDGPU_PP_SENSOR_GFX_MCLK:
ret = smu_v13_0_7_get_smu_metrics_data(smu,
- METRICS_
AVERAGE
_UCLK,
+ METRICS_
CURR
_UCLK,
(uint32_t *)data);
*(uint32_t *)data *= 100;
*size = 4;