]> Git Repo - linux.git/blobdiff - drivers/gpu/drm/amd/amdgpu/si.c
drm/nouveau/kms: Don't change EDID when it hasn't actually changed
[linux.git] / drivers / gpu / drm / amd / amdgpu / si.c
index 9d7b4ccd17b8b44ffe92903facd9ff9156bf662a..1b449291f0687e1476fcd34f50d87b450ff0a3d8 100644 (file)
@@ -1229,6 +1229,11 @@ static bool si_asic_supports_baco(struct amdgpu_device *adev)
 static enum amd_reset_method
 si_asic_reset_method(struct amdgpu_device *adev)
 {
+       if (amdgpu_reset_method != AMD_RESET_METHOD_LEGACY &&
+           amdgpu_reset_method != -1)
+               dev_warn(adev->dev, "Specified reset method:%d isn't supported, using AUTO instead.\n",
+                                 amdgpu_reset_method);
+
        return AMD_RESET_METHOD_LEGACY;
 }
 
This page took 0.034134 seconds and 4 git commands to generate.