diff options
author | 2024-01-12 13:33:24 +0800 | |
---|---|---|
committer | 2024-01-15 18:35:39 -0500 | |
commit | 849e133c973ce7a2f217f699babb269b5d35bc4b (patch) | |
tree | aa515a119418871ea766f68f9d231b4f0da0ae91 /drivers/gpu/drm/amd/amdgpu/amdgpu_vkms.c | |
parent | drm/amdgpu: Centralize ras cap query to amdgpu_ras_check_supported (diff) | |
download | linux-rng-849e133c973ce7a2f217f699babb269b5d35bc4b.tar.xz linux-rng-849e133c973ce7a2f217f699babb269b5d35bc4b.zip |
drm/amdgpu: Fix the null pointer when load rlc firmware
If the RLC firmware is invalid because of wrong header size,
the pointer to the rlc firmware is released in function
amdgpu_ucode_request. There will be a null pointer error
in subsequent use. So skip validation to fix it.
Signed-off-by: Ma Jun <Jun.Ma2@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vkms.c')
0 files changed, 0 insertions, 0 deletions