#
# Video configuration
#

menu "Graphics support"
	depends on HAS_IOMEM

source "drivers/char/agp_upgrade/Kconfig"

source "drivers/char/drm_upgrade/Kconfig"

menuconfig FB
	tristate "Support for frame buffer devices"
	---help---
	  The frame buffer device provides an abstraction for the graphics
	  hardware. It represents the frame buffer of some video hardware and
	  allows application software to access the graphics hardware through
	  a well-defined interface, so the software doesn't need to know
	  anything about the low-level (hardware register) stuff.

	  Frame buffer devices work identically across the different
	  architectures supported by Linux and make the implementation of
	  application programs easier and more portable; at this point, an X
	  server exists which uses the frame buffer device exclusively.
	  On several non-X86 architectures, the frame buffer device is the
	  only way to use the graphics hardware.

	  The device is accessed through special device nodes, usually located
	  in the /dev directory, i.e. /dev/fb*.

	  You need an utility program called fbset to make full use of frame
	  buffer devices. Please read <file:Documentation/fb/framebuffer.txt>
	  and the Framebuffer-HOWTO at
	  <http://www.munted.org.uk/programming/Framebuffer-HOWTO-1.2.html> for more
	  information.

	  Say Y here and to the driver for your graphics board below if you
	  are compiling a kernel for a non-x86 architecture.

	  If you are compiling for the x86 architecture, you can say Y if you
	  want to play with it, but it is not essential. Please note that
	  running graphical applications that directly touch the hardware
	  (e.g. an accelerated X server) and that are not frame buffer
	  device-aware may cause unexpected results. If unsure, say N.

config FB_CFB_FILLRECT
	tristate
	depends on FB
	default n
	---help---
	  Include the cfb_fillrect function for generic software rectangle
	  filling. This is used by drivers that don't provide their own
	  (accelerated) version.

config FB_CFB_COPYAREA
	tristate
	depends on FB
	default n
	---help---
	  Include the cfb_copyarea function for generic software area copying.
	  This is used by drivers that don't provide their own (accelerated)
	  version.

config FB_CFB_IMAGEBLIT
	tristate
	depends on FB
	default n
	---help---
	  Include the cfb_imageblit function for generic software image
	  blitting. This is used by drivers that don't provide their own
	  (accelerated) version.

config FB_DEFERRED_IO
	bool
	depends on FB
	default y

if VT
	source "drivers/video_upgrade/console/Kconfig"
endif

# Dummy Configs, for compatible

config VGASTATE
	tristate
	default n

config FB_SYS_FILLRECT
	tristate
	depends on FB
	default n

config FB_SYS_COPYAREA
	tristate
	depends on FB
	default n

config FB_SYS_IMAGEBLIT
	tristate
	depends on FB
	default n

config FB_SYS_FOPS
	tristate
	depends on FB
	default n

config FB_BACKLIGHT
	bool
	depends on FB
	default n

config BACKLIGHT_LCD_SUPPORT
	bool
	default n

config BACKLIGHT_CLASS_DEVICE
	tristate
	depends on BACKLIGHT_LCD_SUPPORT
	default m

config FONT_8x16
	bool
	depends on FRAMEBUFFER_CONSOLE || SGI_NEWPORT_CONSOLE || STI_CONSOLE || USB_SISUSBVGA_CON
	default y if !SPARC && !FONTS

# Dummy Configs END

endmenu
