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>
This commit is contained in:
Likun Gao 2025-02-24 15:22:55 +08:00 • committed by Alex Deucher
commit 539d821df2