]> git.baikalelectronics.ru Git - kernel.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)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 27 Aug 2019 17:25:20 +0000 (12:25 -0500)
commitdebdd4fd91be3cdd5aa27d59c3bd596f69ee45ac
treef93ab1033b44641151439f54088a564228d782af
parent21504188a79b514c06745b1b58dbd3e9ae149537
drm/amdgpu: fix GFXOFF on Picasso and Raven2

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

Fixes: 76e309646f49 ("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
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c