summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/Kconfig
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2009-09-07 15:45:33 +1000
committerDave Airlie <airlied@redhat.com>2009-09-07 15:45:33 +1000
commit13a8195b148615b15a4f4385f695f2a232095414 (patch)
tree28b12c0ca74e88cd0b310598c6efb7f78f8a027f /drivers/gpu/drm/Kconfig
parentadf551bb25bfb83b79ce3c3887557ed817e26cc9 (diff)
downloadkernel-crypto-13a8195b148615b15a4f4385f695f2a232095414.tar.gz
kernel-crypto-13a8195b148615b15a4f4385f695f2a232095414.tar.xz
kernel-crypto-13a8195b148615b15a4f4385f695f2a232095414.zip
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 ebafad18e31..8c7309177c0 100644
--- a/drivers/gpu/drm/Kconfig
+++ b/drivers/gpu/drm/Kconfig
@@ -18,6 +18,13 @@ menuconfig DRM
details. You should also select and configure AGP
(/dev/agpgart) support.
+config DRM_MODE_HELPER
+ tristate
+ depends on DRM
+ select FB
+ help
+ FB and CRTC helpers for kms drivers.
+
config DRM_TTM
tristate
depends on DRM
@@ -48,7 +55,6 @@ config DRM_RADEON
select FB_CFB_FILLRECT
select FB_CFB_COPYAREA
select FB_CFB_IMAGEBLIT
- select FB
select FRAMEBUFFER_CONSOLE if !EMBEDDED
select FW_LOADER
help
@@ -84,10 +90,10 @@ config DRM_I830
config DRM_I915
tristate "i915 driver"
depends on AGP_INTEL
+ select DRM_MODE_HELPER
select FB_CFB_FILLRECT
select FB_CFB_COPYAREA
select FB_CFB_IMAGEBLIT
- select FB
select FRAMEBUFFER_CONSOLE if !EMBEDDED
# i915 depends on ACPI_VIDEO when ACPI is enabled
# but for select to work, need to select ACPI_VIDEO's dependencies, ick