summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/powerplay/smu_v11_0.c
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2019-08-15 08:27:09 -0500
committerAlex Deucher <alexander.deucher@amd.com>2019-08-21 17:29:49 -0500
commit98f58ada2d37e68125c056f1fc005748251879c2 (patch)
tree673dc52236c49b061bbe3b4c983324a33d26059f /drivers/gpu/drm/amd/powerplay/smu_v11_0.c
parent2f62c5d6ed0abae8e70bd83f4d41b9d63acde45a (diff)
downloadlinux-98f58ada2d37e68125c056f1fc005748251879c2.tar.bz2
drm/amdgpu/gfx9: update pg_flags after determining if gfx off is possible
We need to set certain power gating flags after we determine if the firmware version is sufficient to support gfxoff. Previously we set the pg flags in early init, but we later we might have disabled gfxoff if the firmware versions didn't support it. Move adding the additional pg flags after we determine whether or not to support gfxoff. Fixes: 005440066f92 ("drm/amdgpu: enable gfxoff again on raven series (v2)") Tested-by: Kai-Heng Feng <kai.heng.feng@canonical.com> Tested-by: Tom St Denis <tom.stdenis@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Cc: Kai-Heng Feng <kai.heng.feng@canonical.com> Cc: stable@vger.kernel.org
Diffstat (limited to 'drivers/gpu/drm/amd/powerplay/smu_v11_0.c')
0 files changed, 0 insertions, 0 deletions