tuned modeline tweaking a bit more for panels: currently in test for conf.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7427 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
df0dd8a5dd
commit
b6ec0fb23b
@ -1,6 +1,6 @@
|
||||
/* CTRC functionality */
|
||||
/* Author:
|
||||
Rudolf Cornelissen 11/2002-4/2004
|
||||
Rudolf Cornelissen 11/2002-5/2004
|
||||
*/
|
||||
|
||||
#define MODULE_BIT 0x00040000
|
||||
@ -113,9 +113,10 @@ status_t nv_crtc_set_timing(display_mode target)
|
||||
/* horizontal timing */
|
||||
//fixme (?): maybe we need real modeline calculations here...
|
||||
//testing (640x480): total = 135% is too much, 120% to small...
|
||||
target.timing.h_total = target.timing.h_display + 160;//128
|
||||
target.timing.h_sync_start = target.timing.h_total - 144;//112
|
||||
target.timing.h_sync_end = target.timing.h_total - 48;//16
|
||||
//total = display + 160 equals panel modeline: but must be smaller...?
|
||||
target.timing.h_total = target.timing.h_display + 152;//160;//128
|
||||
target.timing.h_sync_start = target.timing.h_total - 136;//144;//112
|
||||
target.timing.h_sync_end = target.timing.h_total - 40;//48;//16
|
||||
|
||||
/* vertical timing */
|
||||
target.timing.v_total = target.timing.v_display + 6;
|
||||
|
@ -1,6 +1,6 @@
|
||||
/* second CTRC functionality for GeForce cards */
|
||||
/* Author:
|
||||
Rudolf Cornelissen 11/2002-4/2004
|
||||
Rudolf Cornelissen 11/2002-5/2004
|
||||
*/
|
||||
|
||||
#define MODULE_BIT 0x00020000
|
||||
@ -99,9 +99,10 @@ status_t nv_crtc2_set_timing(display_mode target)
|
||||
/* horizontal timing */
|
||||
//fixme (?): maybe we need real modeline calculations here...
|
||||
//testing (640x480): total = 135% is too much, 120% to small...
|
||||
target.timing.h_total = target.timing.h_display + 160;//128
|
||||
target.timing.h_sync_start = target.timing.h_total - 144;//112
|
||||
target.timing.h_sync_end = target.timing.h_total - 48;//16
|
||||
//total = display + 160 equals panel modeline: but must be smaller...?
|
||||
target.timing.h_total = target.timing.h_display + 152;//160;//128
|
||||
target.timing.h_sync_start = target.timing.h_total - 136;//144;//112
|
||||
target.timing.h_sync_end = target.timing.h_total - 40;//48;//16
|
||||
|
||||
/* vertical timing */
|
||||
target.timing.v_total = target.timing.v_display + 6;
|
||||
|
@ -80,7 +80,7 @@ status_t nv_general_powerup()
|
||||
{
|
||||
status_t status;
|
||||
|
||||
LOG(1,("POWERUP: nVidia (open)BeOS Accelerant 0.10-18 running.\n"));
|
||||
LOG(1,("POWERUP: nVidia (open)BeOS Accelerant 0.10-19 running.\n"));
|
||||
|
||||
/* preset no laptop */
|
||||
si->ps.laptop = false;
|
||||
|
Loading…
Reference in New Issue
Block a user