[haiku-commits] r37152 - in haiku/trunk/src/add-ons: accelerants/nvidia/engine kernel/drivers/graphics/nvidia

  • From: rudolf.cornelissen@xxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Tue, 15 Jun 2010 22:24:57 +0200 (CEST)

Author: rudolfc
Date: 2010-06-15 22:24:57 +0200 (Tue, 15 Jun 2010)
New Revision: 37152
Changeset: http://dev.haiku-os.org/changeset/37152/haiku

Modified:
   haiku/trunk/src/add-ons/accelerants/nvidia/engine/nv_general.c
   haiku/trunk/src/add-ons/accelerants/nvidia/engine/nv_info.c
   haiku/trunk/src/add-ons/kernel/drivers/graphics/nvidia/UPDATE.html
Log:
modified force_ws option to include 16:9 aspect modes so both 16:9 and 16:10 
modes are settable with this option. version is 1.08.

Modified: haiku/trunk/src/add-ons/accelerants/nvidia/engine/nv_general.c
===================================================================
--- haiku/trunk/src/add-ons/accelerants/nvidia/engine/nv_general.c      
2010-06-15 19:33:25 UTC (rev 37151)
+++ haiku/trunk/src/add-ons/accelerants/nvidia/engine/nv_general.c      
2010-06-15 20:24:57 UTC (rev 37152)
@@ -1,7 +1,7 @@
 /* Authors:
    Mark Watson 12/1999,
    Apsed,
-   Rudolf Cornelissen 10/2002-11/2009
+   Rudolf Cornelissen 10/2002-6/2010
    tst..
 */
 
@@ -92,7 +92,7 @@
 {
        status_t status;
 
-       LOG(1,("POWERUP: Haiku nVidia Accelerant 1.07 running.\n"));
+       LOG(1,("POWERUP: Haiku nVidia Accelerant 1.08 running.\n"));
 
        /* log VBLANK INT usability status */
        if (si->ps.int_assigned)

Modified: haiku/trunk/src/add-ons/accelerants/nvidia/engine/nv_info.c
===================================================================
--- haiku/trunk/src/add-ons/accelerants/nvidia/engine/nv_info.c 2010-06-15 
19:33:25 UTC (rev 37151)
+++ haiku/trunk/src/add-ons/accelerants/nvidia/engine/nv_info.c 2010-06-15 
20:24:57 UTC (rev 37152)
@@ -2645,7 +2645,7 @@
        }
 
        /* force widescreen types if requested */
-       if (si->settings.force_ws) si->ps.crtc1_screen.aspect = 1.60;
+       if (si->settings.force_ws) si->ps.crtc1_screen.aspect = 1.78;
 
        /* setup output devices and heads */
        if (si->ps.secondary_head)
@@ -2727,7 +2727,7 @@
                                memcpy(&(si->ps.crtc2_screen), 
&(si->ps.con2_screen), sizeof(si->ps.crtc2_screen));
                        }
                        /* force widescreen types if requested */
-                       if (si->settings.force_ws) si->ps.crtc2_screen.aspect = 
1.60;
+                       if (si->settings.force_ws) si->ps.crtc2_screen.aspect = 
1.78;
 
                        /* setup correct output and head use */
                        //fixme? add TVout (only, so no CRT(s) connected) 
support...
@@ -2865,7 +2865,7 @@
                        /* (DDC or load sense analog monitor on secondary 
connector is impossible on NV11) */
 
                        /* force widescreen types if requested */
-                       if (si->settings.force_ws) si->ps.crtc2_screen.aspect = 
1.60;
+                       if (si->settings.force_ws) si->ps.crtc2_screen.aspect = 
1.78;
 
                        /* setup correct output and head use */
                        //fixme? add TVout (only, so no CRT(s) connected) 
support...

Modified: haiku/trunk/src/add-ons/kernel/drivers/graphics/nvidia/UPDATE.html
===================================================================
--- haiku/trunk/src/add-ons/kernel/drivers/graphics/nvidia/UPDATE.html  
2010-06-15 19:33:25 UTC (rev 37151)
+++ haiku/trunk/src/add-ons/kernel/drivers/graphics/nvidia/UPDATE.html  
2010-06-15 20:24:57 UTC (rev 37152)
@@ -4,7 +4,7 @@
 </head>
 <body>
 <p><h2>Changes done for each driverversion:</h2></p>
-<p><h1>head (SVN 1.07, Rudolf)</h1></p>
+<p><h1>head (SVN 1.08, Rudolf)</h1></p>
 <ul>
 <li>Fixed driver assuming enabling AGP mode succeeded on some occasions if it 
did not block it itself. Blocking AGP mode completely via the AGP busmanager 
(option 'block_agp') resulted in a crashing acceleration engine because it was 
setup for AGP transfers instead of using PCI transfers. Error was solved with 
help from user kraton.
 <li>Fixed shared_info struct problem occuring when 3D 'accelerant' is used 
(tested Alpha 4.1): the TVencoder type definition list apparantly gets some 
memory assigned these days when done inside the definition of shared_info. 
Moved encoder list outside the shared_info definition.
@@ -32,7 +32,8 @@
 <li>Improved modeline scaling for digitally connected screens: this fixes 
missing SYNC pulses on some setups. The screen nolonger shows shifted pictures 
(this happened mostly on 640x480 resolution);
 <li>Modified head selection code on NV40 architecture cards except for NV40, 
NV41 and NV45. The cards affected have differently behaving BIOSes. This should 
fix black or disabled screens if the secondary connector was used for VGA while 
the first one was not connected;
 <li>Added dithering for laptop panels (if they are connected to DAC1 only for 
now). Gradients should now display much more fluently on 18bit depth panels (no 
more 'colorbands');
-<li>Fixed black screen on (some?) NV44 cards like Geforce 6100, 6150 and 6200 
types.
+<li>Fixed black screen on (some?) NV44 cards like Geforce 6100, 6150 and 6200 
types;
+<li>Modified 'force_ws' option to force aspect 16:9 instead of 16:10 so both 
aspect widescreen modes are settable.
 </ul>
 <p><h1>nv_driver 0.80 (Rudolf)</h1></p>
 <ul>


Other related posts:

  • » [haiku-commits] r37152 - in haiku/trunk/src/add-ons: accelerants/nvidia/engine kernel/drivers/graphics/nvidia - rudolf . cornelissen