[PATCH] drm/amdgpu: Update RAS init handling

Chen, Guchun Guchun.Chen at amd.com
Wed Sep 9 11:48:22 UTC 2020


[AMD Public Use]

+            if (!adev->psp.ras.ras_initialized)
+                           return -EINVAL;
+
             if (!con)
                            return -EINVAL;

I suggest squashing the new check into below one.

Regards,
Guchun

From: amd-gfx <amd-gfx-bounces at lists.freedesktop.org> On Behalf Of Clements, John
Sent: Wednesday, September 9, 2020 5:24 PM
To: amd-gfx list <amd-gfx at lists.freedesktop.org>; Zhang, Hawking <Hawking.Zhang at amd.com>
Subject: [PATCH] drm/amdgpu: Update RAS init handling


[AMD Official Use Only - Internal Distribution Only]


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/amd-gfx/attachments/20200909/053cad61/attachment-0001.htm>


More information about the amd-gfx mailing list