Commit fed2601
drm/amdgpu/pm: Fix the power1_min_cap value
It's unreasonable to use 0 as the power1_min_cap when
OD is disabled. So, use the same lower limit as the value
used when OD is enabled.
Fixes: 1958946 ("drm/amd/pm: Support for getting power1_cap_min value")
Signed-off-by: Ma Jun <Jun.Ma2@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org1 parent 11ebb3b commit fed2601
File tree
5 files changed
+20
-25
lines changed- drivers/gpu/drm/amd/pm/swsmu
- smu11
- smu13
5 files changed
+20
-25
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1303 | 1303 | | |
1304 | 1304 | | |
1305 | 1305 | | |
1306 | | - | |
| 1306 | + | |
1307 | 1307 | | |
1308 | | - | |
1309 | | - | |
| 1308 | + | |
1310 | 1309 | | |
1311 | | - | |
1312 | | - | |
| 1310 | + | |
| 1311 | + | |
1313 | 1312 | | |
1314 | 1313 | | |
1315 | 1314 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2357 | 2357 | | |
2358 | 2358 | | |
2359 | 2359 | | |
2360 | | - | |
| 2360 | + | |
2361 | 2361 | | |
2362 | | - | |
2363 | | - | |
| 2362 | + | |
2364 | 2363 | | |
2365 | | - | |
2366 | | - | |
| 2364 | + | |
| 2365 | + | |
2367 | 2366 | | |
2368 | 2367 | | |
2369 | 2368 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
640 | 640 | | |
641 | 641 | | |
642 | 642 | | |
643 | | - | |
| 643 | + | |
644 | 644 | | |
645 | | - | |
646 | | - | |
| 645 | + | |
647 | 646 | | |
648 | | - | |
649 | | - | |
| 647 | + | |
| 648 | + | |
650 | 649 | | |
651 | 650 | | |
652 | 651 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2369 | 2369 | | |
2370 | 2370 | | |
2371 | 2371 | | |
2372 | | - | |
| 2372 | + | |
2373 | 2373 | | |
2374 | | - | |
2375 | | - | |
| 2374 | + | |
2376 | 2375 | | |
2377 | | - | |
2378 | | - | |
| 2376 | + | |
| 2377 | + | |
2379 | 2378 | | |
2380 | 2379 | | |
2381 | 2380 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2333 | 2333 | | |
2334 | 2334 | | |
2335 | 2335 | | |
2336 | | - | |
| 2336 | + | |
2337 | 2337 | | |
2338 | | - | |
2339 | | - | |
| 2338 | + | |
2340 | 2339 | | |
2341 | | - | |
2342 | | - | |
| 2340 | + | |
| 2341 | + | |
2343 | 2342 | | |
2344 | 2343 | | |
2345 | 2344 | | |
| |||
0 commit comments