summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/soc15.c
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2019-10-04 19:01:11 +0300
committerAlex Deucher <alexander.deucher@amd.com>2019-10-15 22:51:39 +0300
commit31fa2991f4cd808f038f7bd4a23033e99ac0a7fe (patch)
tree87aa00825a46c985358c55577fcf1669b6ed3d0e /drivers/gpu/drm/amd/amdgpu/soc15.c
parentf5fda6d89afe6e9cedaa1c3303903c905262f6e8 (diff)
downloadlinux-31fa2991f4cd808f038f7bd4a23033e99ac0a7fe.tar.xz
drm/amdgpu: remove in_baco_reset hack
It was a vega20 specific hack. Check if we are in reset and what reset method we are using. 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/soc15.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/soc15.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/soc15.c b/drivers/gpu/drm/amd/amdgpu/soc15.c
index 5cf5f111931d..86bc4cbefbce 100644
--- a/drivers/gpu/drm/amd/amdgpu/soc15.c
+++ b/drivers/gpu/drm/amd/amdgpu/soc15.c
@@ -516,8 +516,6 @@ static int soc15_asic_baco_reset(struct amdgpu_device *adev)
dev_info(adev->dev, "GPU BACO reset\n");
- adev->in_baco_reset = 1;
-
return 0;
}