drm/amdgpu: wrap those atombios APIs used by SI under CONFIG_DRM_AMDGPU_SI
authorEvan Quan <evan.quan@amd.com>
Thu, 2 Dec 2021 01:50:34 +0000 (09:50 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 14 Jan 2022 22:51:15 +0000 (17:51 -0500)
commit1a408c710d9e273a22050b0b7b0c131f92847918
treee6c0536b055f89354758b41fd0d7cb67412fd438
parent3712e7a494596b26861f4dc9b81676d1d0272eaf
drm/amdgpu: wrap those atombios APIs used by SI under CONFIG_DRM_AMDGPU_SI

No need to compile them on CONFIG_DRM_AMDGPU_SI disabled.

Signed-off-by: Evan Quan <evan.quan@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c
drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.h