aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2020-05-18 16:45:13 -0400
committerAlex Deucher <alexander.deucher@amd.com>2020-05-28 14:00:49 -0400
commitac4e189a5623579c023c9cf8006422aef2a487b4 (patch)
tree6e364802eaaf0a8eb0936bdcd1110ddd3eecce9e
parentdrm/amdgpu/sdma4: add renoir to powergating setup (diff)
downloadlinux-dev-ac4e189a5623579c023c9cf8006422aef2a487b4.tar.xz
linux-dev-ac4e189a5623579c023c9cf8006422aef2a487b4.zip
drm/amdgpu/gfx10: add navi12 to gfxoff case
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>
-rw-r--r--drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c
index bd5dd4f64311..19de77cea890 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: