drm/amd/amdgpu: skip ucode loading if ucode_size == 0
authorjsg <jsg@openbsd.org>
Tue, 20 Sep 2022 12:04:35 +0000 (12:04 +0000)
committerjsg <jsg@openbsd.org>
Tue, 20 Sep 2022 12:04:35 +0000 (12:04 +0000)
commiteb9d8ed0789fddfaa2fff466a29055039e9c7abf
treefaea2447e02535bd48fc5f20037bb299c8b1180e
parent52077a4c76f6cb4db864ea8bf813efef696d9ee6
drm/amd/amdgpu: skip ucode loading if ucode_size == 0

From Chengming Gui
985a5d3d491d558f785b77cc5b86837bfa408587 in linux 5.15.y/5.15.69
39c84b8e929dbd4f63be7e04bf1a2bcd92b44177 in mainline linux
sys/dev/pci/drm/amd/amdgpu/amdgpu_psp.c