Commit 935abb8
committed
drm/amdgpu/smu13: fix profile reporting
The following 3 commits landed in parallel:
commit d7d2688 ("drm/amd/pm: update workload mask after the setting")
commit 7a1613e ("drm/amdgpu/smu13: always apply the powersave optimization")
commit 7c210ca ("drm/amdgpu: handle default profile on on devices without fullscreen 3D")
While everything is set correctly, this caused the profile to be
reported incorrectly because both the powersave and fullscreen3d bits
were set in the mask and when the driver prints the profile, it looks
for the first bit set.
Fixes: d7d2688 ("drm/amd/pm: update workload mask after the setting")
Reviewed-by: Kenneth Feng <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
(cherry picked from commit ecfe9b2)
Cc: [email protected]1 parent 4aa923a commit 935abb8
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2485 | 2485 | | |
2486 | 2486 | | |
2487 | 2487 | | |
2488 | | - | |
| 2488 | + | |
2489 | 2489 | | |
2490 | 2490 | | |
2491 | 2491 | | |
| |||
2552 | 2552 | | |
2553 | 2553 | | |
2554 | 2554 | | |
2555 | | - | |
| 2555 | + | |
2556 | 2556 | | |
2557 | 2557 | | |
2558 | 2558 | | |
| |||
2572 | 2572 | | |
2573 | 2573 | | |
2574 | 2574 | | |
2575 | | - | |
| 2575 | + | |
2576 | 2576 | | |
2577 | 2577 | | |
2578 | 2578 | | |
| |||
0 commit comments