alistair23-linux/drivers/video/via
Florian Tobias Schandinat dd73d6868b viafb: split global index up
This is the first step to remove an artificial global index that was used
in two ways:

1. As a pseudo index in the mode table.  Pseudo as you had to search
   through the table to find the referenced entry.  This was replaced by
   using a pointer to the entry.

2. As a shortcut to compare a combination of horizontal and vertical
   resolution at the same time.

   This was replaced by a "(hres<<16) | vres" which is good enough for
   now and the near future.  If vres or hres become greater than 2^16 this
   might indeed cause problems but this solution allows to split this
   indexing mess up without the requirement to do even more code changes.

This is a big change that will allow more clean ups.  It should be a bit
faster but that is probably not relevant for normal operation.  No
regressions expected but as this is a relatively big step heavy testing is
appreciated.

Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Cc: Joseph Chan <JosephChan@via.com.tw>
Cc: Scott Fang <ScottFang@viatech.com.cn>
Cc: Krzysztof Helt <krzysztof.h1@poczta.fm>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2010-03-12 15:52:33 -08:00
..
accel.c viafb: fix acceleration for some chips 2010-01-16 12:15:37 -08:00
accel.h viafb: hardware acceleration initialization cleanup 2009-09-23 07:39:53 -07:00
chip.h viafb: add support for the VX855 chipset 2009-09-23 07:39:53 -07:00
debug.h
dvi.c viafb: split global index up 2010-03-12 15:52:33 -08:00
dvi.h viafb: split global index up 2010-03-12 15:52:33 -08:00
global.c viafb: hardware acceleration initialization cleanup 2009-09-23 07:39:53 -07:00
global.h viafb: cleanup viafb_cursor 2009-09-23 07:39:53 -07:00
hw.c viafb: split global index up 2010-03-12 15:52:33 -08:00
hw.h viafb: split global index up 2010-03-12 15:52:33 -08:00
iface.c viafb: iface.c, iface.h, ioctl.c, ioctl.h 2008-10-16 11:21:41 -07:00
iface.h viafb: iface.c, iface.h, ioctl.c, ioctl.h 2008-10-16 11:21:41 -07:00
ioctl.c viafb: iface.c, iface.h, ioctl.c, ioctl.h 2008-10-16 11:21:41 -07:00
ioctl.h viafb: remove unused video device stuff 2009-09-23 07:39:52 -07:00
lcd.c viafb: split global index up 2010-03-12 15:52:33 -08:00
lcd.h viafb: lcd.c, lcd.h, lcdtbl.h 2008-10-16 11:21:41 -07:00
lcdtbl.h viafb: lcd.c, lcd.h, lcdtbl.h 2008-10-16 11:21:41 -07:00
Makefile viafb: Makefile, share.h 2008-10-16 11:21:41 -07:00
share.h viafb: add support for the VX855 chipset 2009-09-23 07:39:53 -07:00
tbl1636.c viafb: tbl1636.c, tbl1636.h, tblDPASetting.c, tblDPASetting.h 2008-10-16 11:21:41 -07:00
tbl1636.h viafb: tbl1636.c, tbl1636.h, tblDPASetting.c, tblDPASetting.h 2008-10-16 11:21:41 -07:00
tblDPASetting.c viafb: tbl1636.c, tbl1636.h, tblDPASetting.c, tblDPASetting.h 2008-10-16 11:21:41 -07:00
tblDPASetting.h viafb: tbl1636.c, tbl1636.h, tblDPASetting.c, tblDPASetting.h 2008-10-16 11:21:41 -07:00
via_i2c.c viafb: improve viafb_par 2009-09-23 07:39:52 -07:00
via_i2c.h viafb: via_i2c.c, via_i2c.h, viamode.c, viamode.h 2008-10-16 11:21:42 -07:00
via_utility.c viafb: remove dead code 2010-03-12 15:52:33 -08:00
via_utility.h viafb: remove dead code 2010-03-12 15:52:33 -08:00
viafbdev.c viafb: split global index up 2010-03-12 15:52:33 -08:00
viafbdev.h viafb: split global index up 2010-03-12 15:52:33 -08:00
viamode.c viafb: split global index up 2010-03-12 15:52:33 -08:00
viamode.h viafb: split global index up 2010-03-12 15:52:33 -08:00
vt1636.c viafb: improve viafb_par 2009-09-23 07:39:52 -07:00
vt1636.h viafb: via_utility.c, via_utility.h, vt1636.c, vt1636.h 2008-10-16 11:21:42 -07:00