aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/via/viamode.c
diff options
context:
space:
mode:
authorFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>2011-06-06 11:39:20 -0400
committerFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>2011-08-05 08:47:36 -0400
commit0492262281b82e71c6063e35ef73a33fad93cc6d (patch)
treedb0aa0762df77c2c0ae256c4fe9669f60b27bbd4 /drivers/video/via/viamode.c
parent92746c3c82135b13d7fb1bbdebbabb0faedd8433 (diff)
viafb: remove 640x480-60 CRT special case
The timing for 640x480-60 was handled different than all others. This patch changes this by changing the blanking start and end. The reason for this is that I can't find any reason for the old behaviour and it was not consistent anyway as the special case for LCD did not always trigger as the LCD code does not use this function and it did trigger regardless of whether the display set is CRT or LCD but only based whether any DVI/LCD device exists. There are no negative effects observed for CRT or DVI devices. Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Diffstat (limited to 'drivers/video/via/viamode.c')
-rw-r--r--drivers/video/via/viamode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/via/viamode.c b/drivers/video/via/viamode.c
index 58df74e1417e..8a9f4fcb50e9 100644
--- a/drivers/video/via/viamode.c
+++ b/drivers/video/via/viamode.c
@@ -281,7 +281,7 @@ static struct crt_mode_table CRTM640x480[] = {
281 /*r_rate,hsp,vsp */ 281 /*r_rate,hsp,vsp */
282 /*HT, HA, HBS, HBE, HSS, HSE, VT, VA, VBS, VBE, VSS, VSE */ 282 /*HT, HA, HBS, HBE, HSS, HSE, VT, VA, VBS, VBE, VSS, VSE */
283 {REFRESH_60, M640X480_R60_HSP, M640X480_R60_VSP, 283 {REFRESH_60, M640X480_R60_HSP, M640X480_R60_VSP,
284 {800, 640, 648, 144, 656, 96, 525, 480, 480, 45, 490, 2} }, 284 {800, 640, 640, 160, 656, 96, 525, 480, 480, 45, 490, 2} },
285 {REFRESH_75, M640X480_R75_HSP, M640X480_R75_VSP, 285 {REFRESH_75, M640X480_R75_HSP, M640X480_R75_VSP,
286 {840, 640, 640, 200, 656, 64, 500, 480, 480, 20, 481, 3} }, 286 {840, 640, 640, 200, 656, 64, 500, 480, 480, 20, 481, 3} },
287 {REFRESH_85, M640X480_R85_HSP, M640X480_R85_VSP, 287 {REFRESH_85, M640X480_R85_HSP, M640X480_R85_VSP,