Skip to contentSkip to conversation

drm/amdgpu: enable mode-2 gpu reset for vangogh

PATCH In review Xiaojian Du 2 participants 2 messages Mar 18, 2021

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/amdgpu: enable mode-2 gpu reset for vangogh

From: Xiaojian Du <[email protected]>

From: Xiaojian Du <[email protected]>

This patch is to enable mdoe-2 gpu reset for vangogh.

---
 drivers/gpu/drm/amd/amdgpu/nv.c | 4 ----
 1 file changed, 4 deletions(-)
drivers/gpu/drm/amd/amdgpu/nv.c +0 -4
index 5846eac292c3..a31ef68ee2ab 100644
@@ -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");
Signature · 6 lines
2.17.1

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
Reviewed-by on v1 1/1
#1 lore raw
Quoted 7 lines · Xiaojian

From: Xiaojian Du <[email protected]>

From: Xiaojian Du <[email protected]>

This patch is to enable mdoe-2 gpu reset for vangogh.

Please add the fix PSP firmware version in the commit to let us know the good version for reset.

Others look good for me, good job!

Quoted 22 lines
---
 drivers/gpu/drm/amd/amdgpu/nv.c | 4 ----
 1 file changed, 4 deletions(-)
drivers/gpu/drm/amd/amdgpu/nv.c +0 -4
index 5846eac292c3..a31ef68ee2ab 100644
@@ -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");
Signature · 1 line
2.17.1

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx