Skip to content

Commit

Permalink
vt8623fb: new framebuffer driver for VIA VT8623
Browse files Browse the repository at this point in the history
This patch adds fbdev driver for graphics core in VIA VT8623

[[email protected]: build fixes]
Signed-off-by: Ondrej Zajicek <[email protected]>
Signed-off-by: Antonino Daplas <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
Ondrej Zajicek authored and Linus Torvalds committed May 9, 2007
1 parent c3c117f commit 558b7bd
Show file tree
Hide file tree
Showing 4 changed files with 1,005 additions and 0 deletions.
64 changes: 64 additions & 0 deletions Documentation/fb/vt8623fb.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@

vt8623fb - fbdev driver for graphics core in VIA VT8623 chipset
===============================================================


Supported Hardware
==================

VIA VT8623 [CLE266] chipset and its graphics core
(known as CastleRock or Unichrome)

I tested vt8623fb on VIA EPIA ML-6000


Supported Features
==================

* 4 bpp pseudocolor modes (with 18bit palette, two variants)
* 8 bpp pseudocolor mode (with 18bit palette)
* 16 bpp truecolor mode (RGB 565)
* 32 bpp truecolor mode (RGB 888)
* text mode (activated by bpp = 0)
* doublescan mode variant (not available in text mode)
* panning in both directions
* suspend/resume support
* DPMS support

Text mode is supported even in higher resolutions, but there is limitation to
lower pixclocks (maximum about 100 MHz). This limitation is not enforced by
driver. Text mode supports 8bit wide fonts only (hardware limitation) and
16bit tall fonts (driver limitation).

There are two 4 bpp modes. First mode (selected if nonstd == 0) is mode with
packed pixels, high nibble first. Second mode (selected if nonstd == 1) is mode
with interleaved planes (1 byte interleave), MSB first. Both modes support
8bit wide fonts only (driver limitation).

Suspend/resume works on systems that initialize video card during resume and
if device is active (for example used by fbcon).


Missing Features
================
(alias TODO list)

* secondary (not initialized by BIOS) device support
* MMIO support
* interlaced mode variant
* support for fontwidths != 8 in 4 bpp modes
* support for fontheight != 16 in text mode
* hardware cursor
* video overlay support
* vsync synchronization
* acceleration support (8514-like 2D, busmaster transfers)


Known bugs
==========

* cursor disable in text mode doesn't work


--
Ondrej Zajicek <[email protected]>
14 changes: 14 additions & 0 deletions drivers/video/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -1348,6 +1348,20 @@ config FB_VOODOO1
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
Expand Down
1 change: 1 addition & 0 deletions drivers/video/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ obj-$(CONFIG_FB_VALKYRIE) += valkyriefb.o
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/
Expand Down
Loading

0 comments on commit 558b7bd

Please sign in to comment.