From: jsg Date: Thu, 18 Apr 2024 01:06:33 +0000 (+0000) Subject: drm/amdgpu: always force full reset for SOC21 X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=217f20d56c9b12d1f52f624cae8623b6494be629;p=openbsd drm/amdgpu: always force full reset for SOC21 From Alex Deucher fa2df4aa3e3aeae02adc9b4b4f43b7b69b63e5cf in linux-6.6.y/6.6.28 65ff8092e4802f96d87d3d7cde146961f5228265 in mainline linux --- diff --git a/sys/dev/pci/drm/amd/amdgpu/soc21.c b/sys/dev/pci/drm/amd/amdgpu/soc21.c index 10aac1b1643..8600f72696a 100644 --- a/sys/dev/pci/drm/amd/amdgpu/soc21.c +++ b/sys/dev/pci/drm/amd/amdgpu/soc21.c @@ -449,10 +449,8 @@ static bool soc21_need_full_reset(struct amdgpu_device *adev) { switch (adev->ip_versions[GC_HWIP][0]) { case IP_VERSION(11, 0, 0): - return amdgpu_ras_is_supported(adev, AMDGPU_RAS_BLOCK__UMC); case IP_VERSION(11, 0, 2): case IP_VERSION(11, 0, 3): - return false; default: return true; }