drm/amdgpu/soc21: add mode2 asic reset for SMU IP v13.0.11
authorjsg <jsg@openbsd.org>
Wed, 25 Jan 2023 02:29:27 +0000 (02:29 +0000)
committerjsg <jsg@openbsd.org>
Wed, 25 Jan 2023 02:29:27 +0000 (02:29 +0000)
From Tim Huang
fe4d9fb3326ecac3d2cdd1acbc0011013b1d7a94 in linux-6.1.y/6.1.8
18ad18853cf2d8b94cef0112ba94f7a7535a9e89 in mainline linux

sys/dev/pci/drm/amd/amdgpu/soc21.c

index 909cf9f..64b0610 100644 (file)
@@ -325,6 +325,7 @@ soc21_asic_reset_method(struct amdgpu_device *adev)
        case IP_VERSION(13, 0, 10):
                return AMD_RESET_METHOD_MODE1;
        case IP_VERSION(13, 0, 4):
+       case IP_VERSION(13, 0, 11):
                return AMD_RESET_METHOD_MODE2;
        default:
                if (amdgpu_dpm_is_baco_supported(adev))