drm/amdgpu/sdma4: add renoir to powergating setup
authorAlex Deucher <alexander.deucher@amd.com>
Mon, 18 May 2020 20:42:21 +0000 (16:42 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 28 May 2020 18:00:49 +0000 (14:00 -0400)
Looks like renoir 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/sdma_v4_0.c

index 33501c6c71895e8ee33e8282bfe2cc2555050ec2..899610fe2411a0025035fc6c9d7d4a0efa8ab3df 100644 (file)
@@ -2202,6 +2202,7 @@ static int sdma_v4_0_set_powergating_state(void *handle,
 
        switch (adev->asic_type) {
        case CHIP_RAVEN:
+       case CHIP_RENOIR:
                sdma_v4_1_update_power_gating(adev,
                                state == AMD_PG_STATE_GATE ? true : false);
                break;