]> git.baikalelectronics.ru Git - kernel.git/commitdiff
drm/radeon: fix AGP dependency
authorChristian König <christian.koenig@amd.com>
Mon, 8 Mar 2021 18:22:13 +0000 (19:22 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 10 Mar 2021 21:22:45 +0000 (16:22 -0500)
When AGP is compiled as module radeon must be compiled as module as
well.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/Kconfig

index 8bf103de1594c813a10448bae994d314e0374050..19fc4ce62a94e0f1d8dd3915fae66a5f999af302 100644 (file)
@@ -225,6 +225,7 @@ source "drivers/gpu/drm/arm/Kconfig"
 config DRM_RADEON
        tristate "ATI Radeon"
        depends on DRM && PCI && MMU
+       depends on AGP || !AGP
        select FW_LOADER
         select DRM_KMS_HELPER
         select DRM_TTM