small cursor update

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7888 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Rudolf Cornelissen 2004-06-10 07:26:51 +00:00
parent 9b1718cc6c
commit 72eb7e103d
3 changed files with 14 additions and 5 deletions

View File

@ -4,7 +4,7 @@
Other authors:
Mark Watson,
Rudolf Cornelissen 10/2002-5/2004.
Rudolf Cornelissen 10/2002-6/2004.
*/
#define MODULE_BIT 0x00800000
@ -177,12 +177,13 @@ status_t INIT_ACCELERANT(int the_fd) {
/* bail out if something failed */
if (result != B_OK) goto error1;
/* initialise various cursor stuff*/
/* initialise various cursor stuff */
head1_cursor_init();
if (si->ps.secondary_head) head2_cursor_init();
/* ensure cursor state */
SHOW_CURSOR(false);
head1_cursor_hide();
if (si->ps.secondary_head) head2_cursor_hide();
/* a winner! */
result = B_OK;

View File

@ -823,9 +823,16 @@ return nv_general_bios_to_powergraphics();
/*power up the PLLs,LUT,DAC*/
LOG(2,("INIT: PLL/LUT/DAC powerup\n"));
/* turn off both displays and the hardcursor (also disables transfers) */
/* turn off both displays and the hardcursors (also disables transfers) */
head1_dpms(false, false, false);
head1_cursor_hide();
if (si->ps.secondary_head)
{
head2_dpms(false, false, false);
head2_cursor_hide();
}
/* G200 SGRAM and SDRAM use external pix and dac refs, do *not* activate internals!
* (this would create electrical shortcuts,
* resulting in extra chip heat and distortions visible on screen */
@ -898,7 +905,7 @@ return nv_general_bios_to_powergraphics();
// VGAW_I(CRTC,0x11,0);
/* turn on display one */
head1_dpms(true , true, true);
head1_dpms(true, true, true);
return B_OK;
}

View File

@ -30,6 +30,7 @@
<li>Added widescreen (16:10 aspect) modes 800x500, 1024x640, 1280x800, 1440x900, 1680x1050 and 1920x1200 for panel(s) to the modelist exported by the driver if only widescreen panel(s) is (are) connected (so also no analog monitors may be connected!);
<li>Added blocking of modes above panel (with lowest) native resotution: this includes blocking of all widescreen modes if a non-widescreen (analog) screen is detected.
</ul>
<li>Cursor update for dualhead cards: when the 'softcursor' is used, the hardcursors are <strong>both</strong> actually turned off now.
</ul>
<br>
<strong>NOTE:</strong><br>