diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2020-05-18 16:42:21 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2020-05-28 14:00:49 -0400 |
commit | e27fb8215f8c43ecff5fd7ec486df0dad28e1889 (patch) | |
tree | 7e822196e1b95571400e18dbc1f639da953d1610 /drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c | |
parent | 97d798b276e94a366dfb03d62bc90d4742ab3a31 (diff) | |
download | lwn-e27fb8215f8c43ecff5fd7ec486df0dad28e1889.tar.gz lwn-e27fb8215f8c43ecff5fd7ec486df0dad28e1889.zip |
drm/amdgpu/sdma4: add renoir to powergating setup
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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c b/drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c index 33501c6c7189..899610fe2411 100644 --- a/drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c +++ b/drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c @@ -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; |