| From c22632ef6ea5fc6746fb806aae64bcb112455ef0 Mon Sep 17 00:00:00 2001 |
| From: Sasha Levin <sashal@kernel.org> |
| Date: Mon, 8 Mar 2021 19:22:13 +0100 |
| Subject: drm/radeon: fix AGP dependency |
| MIME-Version: 1.0 |
| Content-Type: text/plain; charset=UTF-8 |
| Content-Transfer-Encoding: 8bit |
| |
| From: Christian König <christian.koenig@amd.com> |
| |
| [ Upstream commit cba2afb65cb05c3d197d17323fee4e3c9edef9cd ] |
| |
| 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> |
| Signed-off-by: Sasha Levin <sashal@kernel.org> |
| --- |
| drivers/gpu/drm/Kconfig | 1 + |
| 1 file changed, 1 insertion(+) |
| |
| diff --git a/drivers/gpu/drm/Kconfig b/drivers/gpu/drm/Kconfig |
| index e67c194c2aca..649f17dfcf45 100644 |
| --- a/drivers/gpu/drm/Kconfig |
| +++ b/drivers/gpu/drm/Kconfig |
| @@ -206,6 +206,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.30.1 |
| |