mirror of
https://github.com/torvalds/linux.git
synced 2024-11-08 05:01:48 +00:00
227dc1156c
The XGI340_CR6B lookup table consists of the entries {0xaa, 0xaa, 0xaa, 0xaa} for an index <= 2 and {0x00, 0x00, 0x00, 0x00} for all other indices. The only user XGINew_SetDRAMDefaultRegister340 loops over these 4 values of a line with a for loop and since all entries are the same for each line we can simply replace the whole lookup table with a simple if/else assignment. Tested-by: Aaro Koskinen <aaro.koskinen@iki.fi> Signed-off-by: Peter Huewe <peterhuewe@gmx.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
TODO | ||
vb_def.h | ||
vb_init.c | ||
vb_init.h | ||
vb_setmode.c | ||
vb_setmode.h | ||
vb_struct.h | ||
vb_table.h | ||
vb_util.c | ||
vb_util.h | ||
vgatypes.h | ||
XGI_main_26.c | ||
XGI_main.h | ||
XGIfb.h |