aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/Kconfig
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2009-09-07 01:45:33 -0400
committerDave Airlie <airlied@redhat.com>2009-09-07 01:45:33 -0400
commit13a8195b148615b15a4f4385f695f2a232095414 (patch)
tree28b12c0ca74e88cd0b310598c6efb7f78f8a027f /drivers/gpu/drm/Kconfig
parentadf551bb25bfb83b79ce3c3887557ed817e26cc9 (diff)
drm: split crtc/fb helpers into a separate module
I really don't want to have core drm module rely on CONFIG_FB, so this is the easiest answer. Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/Kconfig')
-rw-r--r--drivers/gpu/drm/Kconfig10
1 files changed, 8 insertions, 2 deletions
diff --git a/drivers/gpu/drm/Kconfig b/drivers/gpu/drm/Kconfig
index ebafad18e316..8c7309177c08 100644
--- a/drivers/gpu/drm/Kconfig
+++ b/drivers/gpu/drm/Kconfig
@@ -18,6 +18,13 @@ menuconfig DRM
18 details. You should also select and configure AGP 18 details. You should also select and configure AGP
19 (/dev/agpgart) support. 19 (/dev/agpgart) support.
20 20
21config DRM_MODE_HELPER
22 tristate
23 depends on DRM
24 select FB
25 help
26 FB and CRTC helpers for kms drivers.
27
21config DRM_TTM 28config DRM_TTM
22 tristate 29 tristate
23 depends on DRM 30 depends on DRM
@@ -48,7 +55,6 @@ config DRM_RADEON
48 select FB_CFB_FILLRECT 55 select FB_CFB_FILLRECT
49 select FB_CFB_COPYAREA 56 select FB_CFB_COPYAREA
50 select FB_CFB_IMAGEBLIT 57 select FB_CFB_IMAGEBLIT
51 select FB
52 select FRAMEBUFFER_CONSOLE if !EMBEDDED 58 select FRAMEBUFFER_CONSOLE if !EMBEDDED
53 select FW_LOADER 59 select FW_LOADER
54 help 60 help
@@ -84,10 +90,10 @@ config DRM_I830
84config DRM_I915 90config DRM_I915
85 tristate "i915 driver" 91 tristate "i915 driver"
86 depends on AGP_INTEL 92 depends on AGP_INTEL
93 select DRM_MODE_HELPER
87 select FB_CFB_FILLRECT 94 select FB_CFB_FILLRECT
88 select FB_CFB_COPYAREA 95 select FB_CFB_COPYAREA
89 select FB_CFB_IMAGEBLIT 96 select FB_CFB_IMAGEBLIT
90 select FB
91 select FRAMEBUFFER_CONSOLE if !EMBEDDED 97 select FRAMEBUFFER_CONSOLE if !EMBEDDED
92 # i915 depends on ACPI_VIDEO when ACPI is enabled 98 # i915 depends on ACPI_VIDEO when ACPI is enabled
93 # but for select to work, need to select ACPI_VIDEO's dependencies, ick 99 # but for select to work, need to select ACPI_VIDEO's dependencies, ick