diff options
author | Aaron Liu <aaron.liu@amd.com> | 2021-04-14 10:05:00 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-06-04 23:03:24 +0300 |
commit | 7d38d9dc4ecc44e210a602f6e99d0831589f6dd8 (patch) | |
tree | 9a2a557128051f0685233b46c9354bf8049e0685 /drivers/gpu/drm/amd/amdgpu/nv.c | |
parent | 6c83a0151b8f028eedd51f618a17cb838c11d217 (diff) | |
download | linux-7d38d9dc4ecc44e210a602f6e99d0831589f6dd8.tar.xz |
drm/amdgpu: add mode2 reset support for yellow carp
This patch adds mode2 reset support for yellow carp.
Signed-off-by: Aaron Liu <aaron.liu@amd.com>
Reviewed-by: Huang Rui <ray.huang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/nv.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/nv.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/nv.c b/drivers/gpu/drm/amd/amdgpu/nv.c index fa2f0cbcec8b..54dd1bde202c 100644 --- a/drivers/gpu/drm/amd/amdgpu/nv.c +++ b/drivers/gpu/drm/amd/amdgpu/nv.c @@ -633,6 +633,7 @@ nv_asic_reset_method(struct amdgpu_device *adev) switch (adev->asic_type) { case CHIP_VANGOGH: + case CHIP_YELLOW_CARP: return AMD_RESET_METHOD_MODE2; case CHIP_SIENNA_CICHLID: case CHIP_NAVY_FLOUNDER: |