Pull video into release branch
authorLen Brown <len.brown@intel.com>
Sun, 22 Jul 2007 06:28:33 +0000 (02:28 -0400)
committerLen Brown <len.brown@intel.com>
Sun, 22 Jul 2007 06:28:33 +0000 (02:28 -0400)
1  2 
drivers/acpi/Kconfig
drivers/video/Kconfig
drivers/video/Makefile

diff --combined drivers/acpi/Kconfig
@@@ -2,12 -2,16 +2,12 @@@
  # ACPI Configuration
  #
  
 -menu "ACPI (Advanced Configuration and Power Interface) Support"
 +menuconfig ACPI
 +      bool "ACPI Support (Advanced Configuration and Power Interface) Support"
        depends on !X86_NUMAQ
        depends on !X86_VISWS
        depends on !IA64_HP_SIM
        depends on IA64 || X86
 -      depends on PM
 -
 -config ACPI
 -      bool "ACPI Support"
 -      depends on IA64 || X86
        depends on PCI
        depends on PM
        select PNP
@@@ -45,6 -49,7 +45,6 @@@ if ACP
  config ACPI_SLEEP
        bool "Sleep States"
        depends on X86 && (!SMP || SUSPEND_SMP)
 -      depends on PM
        default y
        ---help---
          This option adds support for ACPI suspend states. 
@@@ -77,6 -82,7 +77,6 @@@ config ACPI_SLEEP_PROC_SLEE
  
  config ACPI_PROCFS
        bool "Procfs interface (deprecated)"
 -      depends on ACPI
        default y
        ---help---
          The Procfs interface for ACPI is made optional for backward compatibility.
@@@ -118,7 -124,7 +118,7 @@@ config ACPI_BUTTO
  
  config ACPI_VIDEO
        tristate "Video"
-       depends on X86 && BACKLIGHT_CLASS_DEVICE
+       depends on X86 && BACKLIGHT_CLASS_DEVICE && VIDEO_OUTPUT_CONTROL
        help
          This driver implement the ACPI Extensions For Display Adapters
          for integrated graphics devices on motherboard, as specified in
@@@ -274,14 -280,6 +274,14 @@@ config ACPI_DEBU
          of verbosity. Saying Y enables these statements. This will increase
          your kernel size by around 50K.
  
 +config ACPI_DEBUG_FUNC_TRACE
 +      bool "Additionally enable ACPI function tracing"
 +      default n
 +      depends on ACPI_DEBUG
 +      help
 +        ACPI Debug Statements slow down ACPI processing. Function trace
 +        is about half of the penalty and is rarely useful.
 +
  config ACPI_EC
        bool
        default y
@@@ -332,6 -330,7 +332,6 @@@ config ACPI_CONTAINE
  
  config ACPI_HOTPLUG_MEMORY
        tristate "Memory Hotplug"
 -      depends on ACPI
        depends on MEMORY_HOTPLUG
        default n
        help
@@@ -360,3 -359,5 +360,3 @@@ config ACPI_SB
          to today's ACPI "Control Method" battery.
  
  endif # ACPI
 -
 -endmenu
diff --combined drivers/video/Kconfig
@@@ -3,7 -3,6 +3,7 @@@
  #
  
  menu "Graphics support"
 +      depends on HAS_IOMEM
  
  source "drivers/video/backlight/Kconfig"
  source "drivers/video/display/Kconfig"
@@@ -12,6 -11,13 +12,13 @@@ config VGASTAT
         tristate
         default n
  
+ config VIDEO_OUTPUT_CONTROL
+       tristate "Lowlevel video output switch controls"
+       default m
+       help
+         This framework adds support for low-level control of the video 
+         output switch.
  config FB
        tristate "Support for frame buffer devices"
        ---help---
@@@ -704,91 -710,6 +711,91 @@@ config FB_CG
          This is the frame buffer device driver for the CGsix (GX, TurboGX)
          frame buffer.
  
 +config FB_FFB
 +      bool "Creator/Creator3D/Elite3D support"
 +      depends on FB_SBUS && SPARC64
 +      select FB_CFB_COPYAREA
 +      select FB_CFB_IMAGEBLIT
 +      help
 +        This is the frame buffer device driver for the Creator, Creator3D,
 +        and Elite3D graphics boards.
 +
 +config FB_TCX
 +      bool "TCX (SS4/SS5 only) support"
 +      depends on FB_SBUS
 +      select FB_CFB_FILLRECT
 +      select FB_CFB_COPYAREA
 +      select FB_CFB_IMAGEBLIT
 +      help
 +        This is the frame buffer device driver for the TCX 24/8bit frame
 +        buffer.
 +
 +config FB_CG14
 +      bool "CGfourteen (SX) support"
 +      depends on FB_SBUS
 +      select FB_CFB_FILLRECT
 +      select FB_CFB_COPYAREA
 +      select FB_CFB_IMAGEBLIT
 +      help
 +        This is the frame buffer device driver for the CGfourteen frame
 +        buffer on Desktop SPARCsystems with the SX graphics option.
 +
 +config FB_P9100
 +      bool "P9100 (Sparcbook 3 only) support"
 +      depends on FB_SBUS
 +      select FB_CFB_FILLRECT
 +      select FB_CFB_COPYAREA
 +      select FB_CFB_IMAGEBLIT
 +      help
 +        This is the frame buffer device driver for the P9100 card
 +        supported on Sparcbook 3 machines.
 +
 +config FB_LEO
 +      bool "Leo (ZX) support"
 +      depends on FB_SBUS
 +      select FB_CFB_FILLRECT
 +      select FB_CFB_COPYAREA
 +      select FB_CFB_IMAGEBLIT
 +      help
 +        This is the frame buffer device driver for the SBUS-based Sun ZX
 +        (leo) frame buffer cards.
 +
 +config FB_IGA
 +      bool "IGA 168x display support"
 +      depends on (FB = y) && SPARC32
 +      select FB_CFB_FILLRECT
 +      select FB_CFB_COPYAREA
 +      select FB_CFB_IMAGEBLIT
 +      help
 +        This is the framebuffer device for the INTERGRAPHICS 1680 and
 +        successor frame buffer cards.
 +
 +config FB_XVR500
 +      bool "Sun XVR-500 3DLABS Wildcat support"
 +      depends on (FB = y) && PCI && SPARC64
 +      select FB_CFB_FILLRECT
 +      select FB_CFB_COPYAREA
 +      select FB_CFB_IMAGEBLIT
 +      help
 +        This is the framebuffer device for the Sun XVR-500 and similar
 +        graphics cards based upon the 3DLABS Wildcat chipset.  The driver
 +        only works on sparc64 systems where the system firwmare has
 +        mostly initialized the card already.  It is treated as a
 +        completely dumb framebuffer device.
 +
 +config FB_XVR2500
 +      bool "Sun XVR-2500 3DLABS Wildcat support"
 +      depends on (FB = y) && PCI && SPARC64
 +      select FB_CFB_FILLRECT
 +      select FB_CFB_COPYAREA
 +      select FB_CFB_IMAGEBLIT
 +      help
 +        This is the framebuffer device for the Sun XVR-2500 and similar
 +        graphics cards based upon the 3DLABS Wildcat chipset.  The driver
 +        only works on sparc64 systems where the system firwmare has
 +        mostly initialized the card already.  It is treated as a
 +        completely dumb framebuffer device.
 +
  config FB_PVR2
        tristate "NEC PowerVR 2 display support"
        depends on FB && SH_DREAMCAST
  
  config FB_EPSON1355
        bool "Epson 1355 framebuffer support"
 -      depends on (FB = y) && (SUPERH || ARCH_CEIVA)
 +      depends on (FB = y) && ARCH_CEIVA
        select FB_CFB_FILLRECT
        select FB_CFB_COPYAREA
        select FB_CFB_IMAGEBLIT
@@@ -833,32 -754,6 +840,32 @@@ config FB_S1D13XX
          working with S1D13806). Product specs at
          <http://www.erd.epson.com/vdc/html/legacy_13xxx.htm>
  
 +config FB_ATMEL
 +      tristate "AT91/AT32 LCD Controller support"
 +      depends on FB && (ARCH_AT91SAM9261 || ARCH_AT91SAM9263 || AVR32)
 +      select FB_CFB_FILLRECT
 +      select FB_CFB_COPYAREA
 +      select FB_CFB_IMAGEBLIT
 +      help
 +        This enables support for the AT91/AT32 LCD Controller.
 +
 +config FB_INTSRAM
 +      bool "Frame Buffer in internal SRAM"
 +      depends on FB_ATMEL && ARCH_AT91SAM9261
 +      help
 +        Say Y if you want to map Frame Buffer in internal SRAM. Say N if you want
 +        to let frame buffer in external SDRAM.
 +
 +config FB_ATMEL_STN
 +      bool "Use a STN display with AT91/AT32 LCD Controller"
 +      depends on FB_ATMEL && MACH_AT91SAM9261EK
 +      default n
 +      help
 +        Say Y if you want to connect a STN LCD display to the AT91/AT32 LCD
 +        Controller. Say N if you want to connect a TFT.
 +
 +        If unsure, say N.
 +
  config FB_NVIDIA
        tristate "nVidia Framebuffer Support"
        depends on FB && PCI
@@@ -891,15 -786,6 +898,15 @@@ config FB_NVIDIA_I2
          independently validate video mode parameters, you should say Y
          here.
  
 +config FB_NVIDIA_DEBUG
 +      bool "Lots of debug output"
 +      depends on FB_NVIDIA
 +      default n
 +      help
 +        Say Y here if you want the nVidia driver to output all sorts
 +        of debugging information to provide to the maintainer when
 +        something goes wrong.
 +
  config FB_NVIDIA_BACKLIGHT
        bool "Support for backlight control"
        depends on FB_NVIDIA
@@@ -939,7 -825,7 +946,7 @@@ config FB_RIVA_I2
          here.
  
  config FB_RIVA_DEBUG
 -      bool "Lots of debug output from Riva(nVidia) driver"
 +      bool "Lots of debug output"
        depends on FB_RIVA
        default n
        help
@@@ -1290,7 -1176,7 +1297,7 @@@ config FB_AT
  config FB_ATY_CT
        bool "Mach64 CT/VT/GT/LT (incl. 3D RAGE) support"
        depends on PCI && FB_ATY
 -      default y if SPARC64 && FB_PCI
 +      default y if SPARC64 && PCI
        help
          Say Y here to support use of ATI's 64-bit Rage boards (or other
          boards based on the Mach64 CT, VT, GT, and LT chipsets) as a
@@@ -1469,20 -1355,6 +1476,20 @@@ config FB_VOODOO
          Please read the <file:Documentation/fb/README-sstfb.txt> for supported
          options and other important info  support.
  
 +config FB_VT8623
 +      tristate "VIA VT8623 support"
 +      depends on FB && PCI
 +      select FB_CFB_FILLRECT
 +      select FB_CFB_COPYAREA
 +      select FB_CFB_IMAGEBLIT
 +      select FB_TILEBLITTING
 +      select FB_SVGALIB
 +      select VGASTATE
 +      select FONT_8x16 if FRAMEBUFFER_CONSOLE
 +      ---help---
 +        Driver for CastleRock integrated graphics core in the
 +        VIA VT8623 [Apollo CLE266] chipset.
 +
  config FB_CYBLA
        tristate "Cyberblade/i1 support"
        depends on FB && PCI && X86_32 && !64BIT
@@@ -1536,26 -1408,9 +1543,26 @@@ config FB_TRIDENT_ACCE
        This will compile the Trident frame buffer device with
        acceleration functions.
  
 +config FB_ARK
 +      tristate "ARK 2000PV support"
 +      depends on FB && PCI
 +      select FB_CFB_FILLRECT
 +      select FB_CFB_COPYAREA
 +      select FB_CFB_IMAGEBLIT
 +      select FB_TILEBLITTING
 +      select FB_SVGALIB
 +      select VGASTATE
 +      select FONT_8x16 if FRAMEBUFFER_CONSOLE
 +      ---help---
 +        Driver for PCI graphics boards with ARK 2000PV chip
 +        and ICS 5342 RAMDAC.
 +
  config FB_PM3
 -      tristate "Permedia3 support"
 -      depends on FB && PCI && BROKEN
 +      tristate "Permedia3 support (EXPERIMENTAL)"
 +      depends on FB && PCI && EXPERIMENTAL
 +      select FB_CFB_FILLRECT
 +      select FB_CFB_COPYAREA
 +      select FB_CFB_IMAGEBLIT
        help
          This is the frame buffer device driver for the 3DLabs Permedia3
          chipset, used in Formac ProFormance III, 3DLabs Oxygen VX1 &
@@@ -1579,6 -1434,95 +1586,6 @@@ config FB_AU120
  
  source "drivers/video/geode/Kconfig"
  
 -config FB_FFB
 -      bool "Creator/Creator3D/Elite3D support"
 -      depends on FB_SBUS && SPARC64
 -      select FB_CFB_COPYAREA
 -      select FB_CFB_IMAGEBLIT
 -      help
 -        This is the frame buffer device driver for the Creator, Creator3D,
 -        and Elite3D graphics boards.
 -
 -config FB_TCX
 -      bool "TCX (SS4/SS5 only) support"
 -      depends on FB_SBUS
 -      select FB_CFB_FILLRECT
 -      select FB_CFB_COPYAREA
 -      select FB_CFB_IMAGEBLIT
 -      help
 -        This is the frame buffer device driver for the TCX 24/8bit frame
 -        buffer.
 -
 -config FB_CG14
 -      bool "CGfourteen (SX) support"
 -      depends on FB_SBUS
 -      select FB_CFB_FILLRECT
 -      select FB_CFB_COPYAREA
 -      select FB_CFB_IMAGEBLIT
 -      help
 -        This is the frame buffer device driver for the CGfourteen frame
 -        buffer on Desktop SPARCsystems with the SX graphics option.
 -
 -config FB_P9100
 -      bool "P9100 (Sparcbook 3 only) support"
 -      depends on FB_SBUS
 -      select FB_CFB_FILLRECT
 -      select FB_CFB_COPYAREA
 -      select FB_CFB_IMAGEBLIT
 -      help
 -        This is the frame buffer device driver for the P9100 card
 -        supported on Sparcbook 3 machines.
 -
 -config FB_LEO
 -      bool "Leo (ZX) support"
 -      depends on FB_SBUS
 -      select FB_CFB_FILLRECT
 -      select FB_CFB_COPYAREA
 -      select FB_CFB_IMAGEBLIT
 -      help
 -        This is the frame buffer device driver for the SBUS-based Sun ZX
 -        (leo) frame buffer cards.
 -
 -config FB_XVR500
 -      bool "Sun XVR-500 3DLABS Wildcat support"
 -      depends on FB && PCI && SPARC64
 -      select FB_CFB_FILLRECT
 -      select FB_CFB_COPYAREA
 -      select FB_CFB_IMAGEBLIT
 -      help
 -        This is the framebuffer device for the Sun XVR-500 and similar
 -        graphics cards based upon the 3DLABS Wildcat chipset.  The driver
 -        only works on sparc64 systems where the system firwmare has
 -        mostly initialized the card already.  It is treated as a
 -        completely dumb framebuffer device.
 -
 -config FB_XVR2500
 -      bool "Sun XVR-2500 3DLABS Wildcat support"
 -      depends on FB && PCI && SPARC64
 -      select FB_CFB_FILLRECT
 -      select FB_CFB_COPYAREA
 -      select FB_CFB_IMAGEBLIT
 -      help
 -        This is the framebuffer device for the Sun XVR-2500 and similar
 -        graphics cards based upon the 3DLABS Wildcat chipset.  The driver
 -        only works on sparc64 systems where the system firwmare has
 -        mostly initialized the card already.  It is treated as a
 -        completely dumb framebuffer device.
 -
 -config FB_PCI
 -      bool "PCI framebuffers"
 -      depends on (FB = y) && PCI && SPARC
 -
 -config FB_IGA
 -      bool "IGA 168x display support"
 -      depends on SPARC32 && FB_PCI
 -      select FB_CFB_FILLRECT
 -      select FB_CFB_COPYAREA
 -      select FB_CFB_IMAGEBLIT
 -      help
 -        This is the framebuffer device for the INTERGRAPHICS 1680 and
 -        successor frame buffer cards.
 -
  config FB_HIT
        tristate "HD64461 Frame Buffer support"
        depends on FB && HD64461
@@@ -1800,20 -1744,18 +1807,20 @@@ config FB_IBM_GXT450
          adaptor, found on some IBM System P (pSeries) machines.
  
  config FB_PS3
 -      bool "PS3 GPU framebuffer driver"
 -      depends on (FB = y) && PS3_PS3AV
 -      select FB_CFB_FILLRECT
 -      select FB_CFB_COPYAREA
 -      select FB_CFB_IMAGEBLIT
 +      tristate "PS3 GPU framebuffer driver"
 +      depends on FB && PS3_PS3AV
 +      select FB_SYS_FILLRECT
 +      select FB_SYS_COPYAREA
 +      select FB_SYS_IMAGEBLIT
 +      select FB_SYS_FOPS
 +      select VT_HW_CONSOLE_BINDING if FRAMEBUFFER_CONSOLE
        ---help---
          Include support for the virtual frame buffer in the PS3 platform.
  
  config FB_PS3_DEFAULT_SIZE_M
        int "PS3 default frame buffer size (in MiB)"
        depends on FB_PS3
 -      default 18
 +      default 9
        ---help---
          This is the default size (in MiB) of the virtual frame buffer in
          the PS3.
@@@ -1831,10 -1773,6 +1838,10 @@@ config FB_XILIN
          framebuffer. ML300 carries a 640*480 LCD display on the board,
          ML403 uses a standard DB15 VGA connector.
  
 +if ARCH_OMAP
 +      source "drivers/video/omap/Kconfig"
 +endif
 +
  config FB_VIRTUAL
        tristate "Virtual Frame Buffer support (ONLY FOR TESTING!)"
        depends on FB
diff --combined drivers/video/Makefile
@@@ -54,12 -54,10 +54,12 @@@ obj-$(CONFIG_FB_VALKYRIE)         += va
  obj-$(CONFIG_FB_CT65550)          += chipsfb.o
  obj-$(CONFIG_FB_IMSTT)            += imsttfb.o
  obj-$(CONFIG_FB_FM2)              += fm2fb.o
 +obj-$(CONFIG_FB_VT8623)           += vt8623fb.o
  obj-$(CONFIG_FB_CYBLA)            += cyblafb.o
  obj-$(CONFIG_FB_TRIDENT)          += tridentfb.o
  obj-$(CONFIG_FB_LE80578)          += vermilion/
  obj-$(CONFIG_FB_S3)               += s3fb.o
 +obj-$(CONFIG_FB_ARK)              += arkfb.o
  obj-$(CONFIG_FB_STI)              += stifb.o
  obj-$(CONFIG_FB_FFB)              += ffb.o sbuslib.o
  obj-$(CONFIG_FB_CG6)              += cg6.o sbuslib.o
@@@ -87,7 -85,6 +87,7 @@@ obj-$(CONFIG_FB_G364)             += g3
  obj-$(CONFIG_FB_SA1100)           += sa1100fb.o
  obj-$(CONFIG_FB_HIT)              += hitfb.o
  obj-$(CONFIG_FB_EPSON1355)      += epson1355fb.o
 +obj-$(CONFIG_FB_ATMEL)                  += atmel_lcdfb.o
  obj-$(CONFIG_FB_PVR2)             += pvr2fb.o
  obj-$(CONFIG_FB_VOODOO1)          += sstfb.o
  obj-$(CONFIG_FB_ARMCLCD)        += amba-clcd.o
@@@ -113,7 -110,6 +113,7 @@@ obj-$(CONFIG_FB_IBM_GXT4500)         += gxt45
  obj-$(CONFIG_FB_PS3)            += ps3fb.o
  obj-$(CONFIG_FB_SM501)            += sm501fb.o
  obj-$(CONFIG_FB_XILINX)           += xilinxfb.o
 +obj-$(CONFIG_FB_OMAP)             += omap/
  
  # Platform or fallback drivers go here
  obj-$(CONFIG_FB_VESA)             += vesafb.o
@@@ -123,3 -119,6 +123,6 @@@ obj-$(CONFIG_FB_OF)               += of
  
  # the test framebuffer is last
  obj-$(CONFIG_FB_VIRTUAL)          += vfb.o
+ #video output switch sysfs driver
+ obj-$(CONFIG_VIDEO_OUTPUT_CONTROL) += output.o