]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amdgpu: fix NULL pointer issue for supports_baco
authorLikun Gao <Likun.Gao@amd.com>
Mon, 24 Feb 2025 07:22:55 +0000 (15:22 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 8 Dec 2025 18:56:29 +0000 (13:56 -0500)
commit539d821df2938368c8b175cadd6f463de61d4be3
treed4193987f8f0904771c27c3dd0551bc7a13360ff
parent9877a865d62c9c3e0f4cc369dc9ca9f7f24f5ee9
drm/amdgpu: fix NULL pointer issue for supports_baco

Return 0 if the realted ASIC do not have supports_baco
function to fix the NULL pointer issue.

Signed-off-by: Likun Gao <Likun.Gao@amd.com>
Reviewed-by: Le Ma <le.ma@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu.h