diff options
author | 2025-07-18 09:25:21 +0530 | |
---|---|---|
committer | 2025-08-04 15:47:50 -0400 | |
commit | c2fe914d50ab22defca14ac6fca33888bfb19843 (patch) | |
tree | 6251552d204e67e340e5086843bebcd6633988cc /tools/perf/scripts/python | |
parent | drm/amd/display: Revert "drm/amd/display: Fix AMDGPU_MAX_BL_LEVEL value" (diff) | |
download | wireguard-linux-c2fe914d50ab22defca14ac6fca33888bfb19843.tar.xz wireguard-linux-c2fe914d50ab22defca14ac6fca33888bfb19843.zip |
drm/amdgpu: Add NULL check for asic_funcs
If driver load fails too early, asic_funcs pointer remains unassigned.
Add NULL check to sanitize unwind path.
Signed-off-by: Lijo Lazar <lijo.lazar@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit 582bf7c5158dce16f7dc5b8345b7876bd8031224)
Cc: stable@vger.kernel.org
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions