]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/amdgpu: skip ucode loading if ucode_size == 0
authorChengming Gui <Jack.Gui@amd.com>
Tue, 30 Aug 2022 08:33:01 +0000 (16:33 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 31 Aug 2022 21:02:20 +0000 (17:02 -0400)
commit0f1d8e178a818eb30999cdd48bfbf5efa74a2225
treeb7ee8a2627d77f2c9a999b43957919c27f4a6bb5
parentd0292568a693b0081c7d17848ca82cd0723982c3
drm/amd/amdgpu: skip ucode loading if ucode_size == 0

Restrict the ucode loading check to avoid frontdoor loading error.

Signed-off-by: Chengming Gui <Jack.Gui@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c