pm2fb: memclock setting corrections
PATCH 1/1 pm2fb: memclock setting corrections
From: Krzysztof Helt <[email protected]>
This patch disables a memory clock setting if a board has been initialized by BIOS. This allows using the memory clock set by manufacturer of the board.
This patch also sets default clock for 3dlabs Permedia 2V reference board's clock to 75MHz (BIOS setting for EONtronic Permedia 2Vboard), because the default 83MHz can be too high.
---
This patch requires the patch pm2fb-3dlabs-permedia-2v-reference-board-added.patch
from mm tree to be applied first.
----------------------------------------------------
Sprawdź ile wart jest Twój samochód.
Wycena aut jak na dłoni: http://klik.wp.pl/?adr=www.wycenyaut.wp.pl&sid=1117
drivers/video/pm2fb.c +2 -2
@@ -1139,10 +1144,10 @@ static int __devinit pm2fb_probe(struct default_par->mem_control, default_par->boot_address, default_par->mem_config); - default_par->memclock =CVPPC_MEMCLOCK ;if (default_par->mem_control ==0 && default_par->boot_address ==0x31 && default_par->mem_config ==0x259fffff ) { + default_par->memclock =CVPPC_MEMCLOCK ; default_par->mem_control=0 ; default_par->boot_address=0x20 ; default_par->mem_config=0xe6002021 ;
@@ -1162,7 +1167,7 @@ static int __devinit pm2fb_probe(structDPRINTK ("We have not been initialized by VGA BIOS " "and are running on an 3dlabs reference board\n" );DPRINTK ("Initializing card timings manually...\n" ); - default_par->memclock=70000 ; + default_par->memclock=74894 ; } }
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Linux-fbdev-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-fbdev-devel