[PATCH] drm/amdgpu: enable mode-2 gpu reset for vangogh
Xiaojian Du
Xiaojian.Du at amd.com
Thu Mar 18 07:21:20 UTC 2021
From: Xiaojian Du <xiaojian.du at amd.com>
From: Xiaojian Du <Xiaojian.Du at amd.com>
This patch is to enable mdoe-2 gpu reset for vangogh.
Signed-off-by: Xiaojian Du <Xiaojian.Du at amd.com>
---
drivers/gpu/drm/amd/amdgpu/nv.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/nv.c b/drivers/gpu/drm/amd/amdgpu/nv.c
index 5846eac292c3..a31ef68ee2ab 100644
--- a/drivers/gpu/drm/amd/amdgpu/nv.c
+++ b/drivers/gpu/drm/amd/amdgpu/nv.c
@@ -561,10 +561,6 @@ static int nv_asic_reset(struct amdgpu_device *adev)
int ret = 0;
struct smu_context *smu = &adev->smu;
- /* skip reset on vangogh for now */
- if (adev->asic_type == CHIP_VANGOGH)
- return 0;
-
switch (nv_asic_reset_method(adev)) {
case AMD_RESET_METHOD_PCI:
dev_info(adev->dev, "PCI reset\n");
--
2.17.1
More information about the amd-gfx
mailing list