From: Alex Deucher Date: Mon, 18 May 2020 20:45:13 +0000 (-0400) Subject: drm/amdgpu/gfx10: add navi12 to gfxoff case X-Git-Tag: v5.9-rc1~134^2~19^2~463 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ac4e189a5623579c023c9cf8006422aef2a487b4;p=thirdparty%2Flinux.git drm/amdgpu/gfx10: add navi12 to gfxoff case Looks like it should be handled here as well. Reviewed-by: Evan Quan Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c index bd5dd4f643110..19de77cea8900 100644 --- a/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c +++ b/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c @@ -7118,6 +7118,7 @@ static int gfx_v10_0_set_powergating_state(void *handle, switch (adev->asic_type) { case CHIP_NAVI10: case CHIP_NAVI14: + case CHIP_NAVI12: amdgpu_gfx_off_ctrl(adev, enable); break; default: