aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/nv.c
diff options
context:
space:
mode:
authorXiaojian Du <[email protected]>2021-03-18 07:39:21 +0000
committerAlex Deucher <[email protected]>2021-04-09 20:35:05 +0000
commitfe68ceef3412544aa8e2e2ff397f76edfedf6bd9 (patch)
treef1de240ce00e6d3a14a2a3e9cda9674b8643f9bb /drivers/gpu/drm/amd/amdgpu/nv.c
parentdrm/amdgpu: add codes to capture invalid hardware access when recovery (diff)
downloadkernel-fe68ceef3412544aa8e2e2ff397f76edfedf6bd9.tar.gz
kernel-fe68ceef3412544aa8e2e2ff397f76edfedf6bd9.zip
Revert "drm/amdgpu: disable gpu reset on Vangogh for now"
This reverts commit 33cf440d594bfbf81fc20604957bc64f02d0b560. And it will enable mode-2 gpu reset for vangogh, it asks PSP firmware version is 00.1A.00.0F or newer. Signed-off-by: Xiaojian Du <[email protected]> Reviewed-by: Huang Rui <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/nv.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/nv.c4
1 files changed, 0 insertions, 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");