Skip to content
Commit 985a5d3d authored by Chengming Gui's avatar Chengming Gui Committed by Greg Kroah-Hartman
Browse files

drm/amd/amdgpu: skip ucode loading if ucode_size == 0



[ Upstream commit 39c84b8e ]

Restrict the ucode loading check to avoid frontdoor loading error.

Signed-off-by: default avatarChengming Gui <Jack.Gui@amd.com>
Reviewed-by: default avatarHawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent a1347be8
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment