drm/amdgpu/gfx10: add navi12 to gfxoff case
authorAlex Deucher <alexander.deucher@amd.com>
Mon, 18 May 2020 20:45:13 +0000 (16:45 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 28 May 2020 18:00:49 +0000 (14:00 -0400)
Looks like it should be handled here as well.

Reviewed-by: Evan Quan <evan.quan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c

index bd5dd4f6431103b8fded2463a37717870da6f6f8..19de77cea8900fd0a130394ce6a473c900d2b83a 100644 (file)
@@ -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: