]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/amdgpu: fix GFXOFF on Picasso and Raven2
authorAaron Liu <aaron.liu@amd.com>
Tue, 27 Aug 2019 14:59:45 +0000 (22:59 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 6 Sep 2019 08:23:46 +0000 (10:23 +0200)
commitf78e0d8172f35ae96b7d0728142d46eccbe38283
treeb8628f420ed9cb4b6810e1b8c720ee6a16c6a6e7
parent4c7ee7bd4f7e230f7672dd4986ed0db565686b97
drm/amdgpu: fix GFXOFF on Picasso and Raven2

commit 41940ff50f6c347f3541163702566cd526200d98 upstream.

For picasso(adev->pdev->device == 0x15d8)&raven2(adev->rev_id >= 0x8),
firmware is sufficient to support gfxoff.
In commit 98f58ada2d37e, for picasso&raven2,
return directly and cause gfxoff disabled.

Fixes: 98f58ada2d37 ("drm/amdgpu/gfx9: update pg_flags after determining if gfx off is possible")
Reviewed-by: Huang Rui <ray.huang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Aaron Liu <aaron.liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c