[PATCH 2/3] drm/radeon: fix AGP dependency

Christian König ckoenig.leichtzumerken at gmail.com
Mon Mar 8 18:36:42 UTC 2021


When AGP is compiled as module radeon must be compiled as module as
well.

Signed-off-by: Christian König <christian.koenig at amd.com>
---
 drivers/gpu/drm/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/gpu/drm/Kconfig b/drivers/gpu/drm/Kconfig
index e392a90ca687..85b79a7fee63 100644
--- a/drivers/gpu/drm/Kconfig
+++ b/drivers/gpu/drm/Kconfig
@@ -228,6 +228,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
-- 
2.25.1



More information about the amd-gfx mailing list