fbdev/drm: fix Kconfig submenu mess in "Graphics support"
Submenus of the graphics support "Support for frame buffer devices" and
"Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)" are
broken in half after latest changes for Intel 915 mode setting support.
The DRM subsection is broken because one option is put outside the choice
section it depends on.
The frame buffers part is broken then due to circular dependency. Fix
this by make Intel frame buffers depend on CONFIG_INTEL_AGP.
Kconfigs are broken by d2f5935770
("drm/i915: select framebuffer support automatically").
This is probably not only way to fix this.
Signed-off-by: Krzysztof Helt <krzysztof.h1@wp.pl>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Dave Airlie <airlied@linux.ie>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
5a74db06cc
commit
a1a5c3b923
2 changed files with 8 additions and 15 deletions
|
@ -80,18 +80,17 @@ config DRM_I915
|
||||||
XFree86 4.4 and above. If unsure, build this and i830 as modules and
|
XFree86 4.4 and above. If unsure, build this and i830 as modules and
|
||||||
the X server will load the correct one.
|
the X server will load the correct one.
|
||||||
|
|
||||||
endchoice
|
|
||||||
|
|
||||||
config DRM_I915_KMS
|
config DRM_I915_KMS
|
||||||
bool "Enable modesetting on intel by default"
|
bool "Enable modesetting on intel by default"
|
||||||
depends on DRM_I915
|
depends on DRM_I915
|
||||||
help
|
help
|
||||||
Choose this option if you want kernel modesetting enabled by default,
|
Choose this option if you want kernel modesetting enabled by default,
|
||||||
and you have a new enough userspace to support this. Running old
|
and you have a new enough userspace to support this. Running old
|
||||||
userspaces with this enabled will cause pain. Note that this causes
|
userspaces with this enabled will cause pain. Note that this causes
|
||||||
the driver to bind to PCI devices, which precludes loading things
|
the driver to bind to PCI devices, which precludes loading things
|
||||||
like intelfb.
|
like intelfb.
|
||||||
|
|
||||||
|
endchoice
|
||||||
|
|
||||||
config DRM_MGA
|
config DRM_MGA
|
||||||
tristate "Matrox g200/g400"
|
tristate "Matrox g200/g400"
|
||||||
|
|
|
@ -1054,10 +1054,7 @@ config FB_RIVA_BACKLIGHT
|
||||||
|
|
||||||
config FB_I810
|
config FB_I810
|
||||||
tristate "Intel 810/815 support (EXPERIMENTAL)"
|
tristate "Intel 810/815 support (EXPERIMENTAL)"
|
||||||
depends on EXPERIMENTAL && PCI && X86_32
|
depends on EXPERIMENTAL && FB && PCI && X86_32 && AGP_INTEL
|
||||||
select AGP
|
|
||||||
select AGP_INTEL
|
|
||||||
select FB
|
|
||||||
select FB_MODE_HELPERS
|
select FB_MODE_HELPERS
|
||||||
select FB_CFB_FILLRECT
|
select FB_CFB_FILLRECT
|
||||||
select FB_CFB_COPYAREA
|
select FB_CFB_COPYAREA
|
||||||
|
@ -1120,10 +1117,7 @@ config FB_CARILLO_RANCH
|
||||||
|
|
||||||
config FB_INTEL
|
config FB_INTEL
|
||||||
tristate "Intel 830M/845G/852GM/855GM/865G/915G/945G/945GM/965G/965GM support (EXPERIMENTAL)"
|
tristate "Intel 830M/845G/852GM/855GM/865G/915G/945G/945GM/965G/965GM support (EXPERIMENTAL)"
|
||||||
depends on EXPERIMENTAL && PCI && X86
|
depends on EXPERIMENTAL && FB && PCI && X86 && AGP_INTEL
|
||||||
select FB
|
|
||||||
select AGP
|
|
||||||
select AGP_INTEL
|
|
||||||
select FB_MODE_HELPERS
|
select FB_MODE_HELPERS
|
||||||
select FB_CFB_FILLRECT
|
select FB_CFB_FILLRECT
|
||||||
select FB_CFB_COPYAREA
|
select FB_CFB_COPYAREA
|
||||||
|
|
Loading…
Add table
Reference in a new issue