Skip to content
Snippets Groups Projects
Commit 935abb86 authored by Alex Deucher's avatar Alex Deucher
Browse files

drm/amdgpu/smu13: fix profile reporting


The following 3 commits landed in parallel:
commit d7d2688b ("drm/amd/pm: update workload mask after the setting")
commit 7a1613e4 ("drm/amdgpu/smu13: always apply the powersave optimization")
commit 7c210ca5 ("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: d7d2688b ("drm/amd/pm: update workload mask after the setting")
Reviewed-by: default avatarKenneth Feng <kenneth.feng@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
(cherry picked from commit ecfe9b23)
Cc: stable@vger.kernel.org
parent 4aa923a6
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment