]> 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)
commitf5e962747e1e5913f9fc741722436397e7a891d0
treef93ab1033b44641151439f54088a564228d782af
parent7f9ae6878c072f32bce6b2b0978bc0f112f4ab68
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 6348b1cccb7c6, for picasso&raven2,
return directly and cause gfxoff disabled.

Fixes: 6348b1cccb7c ("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