mirror-linux/drivers/gpu/drm/amd
Alex Deucher 935abb86a9 drm/amdgpu/smu13: fix profile reporting
The following 3 commits landed in parallel:
commit d7d2688bf4 ("drm/amd/pm: update workload mask after the setting")
commit 7a1613e47e ("drm/amdgpu/smu13: always apply the powersave optimization")
commit 7c210ca5a2 ("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: d7d2688bf4 ("drm/amd/pm: update workload mask after the setting")
Reviewed-by: Kenneth Feng <kenneth.feng@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit ecfe9b2376)
Cc: stable@vger.kernel.org
2024-10-28 17:19:45 -04:00
..
acp drivers/gpu: Fix misalignment in comment block 2024-05-29 14:48:30 -04:00
amdgpu drm/amdgpu: fix random data corruption for sdma 7 2024-10-22 18:11:43 -04:00
amdkfd drm/amdkfd: Accounting pdd vram_usage for svm 2024-10-15 11:50:13 -04:00
amdxcp
display Revert "drm/amd/display: update DML2 policy EnhancedPrefetchScheduleAccelerationFinal DCN35" 2024-10-28 17:13:25 -04:00
include drm/amdkfd: Update logic for CU occupancy calculations 2024-09-25 12:56:00 -04:00
pm drm/amdgpu/smu13: fix profile reporting 2024-10-28 17:19:45 -04:00