added blocking of non-supported modes on panels

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7459 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Rudolf Cornelissen 2004-05-08 14:09:30 +00:00
parent 132d416525
commit a626297096
3 changed files with 24 additions and 3 deletions

View File

@ -171,6 +171,26 @@ status_t PROPOSE_DISPLAY_MODE(display_mode *target, const display_mode *low, con
return result;
}
/* check if panel(s) can display the requested mode (if connected) */
if (si->ps.tmds1_active)
{
if ((target->timing.h_display > si->ps.p1_timing.h_display) ||
(target->timing.v_display > si->ps.p1_timing.v_display))
{
LOG(4, ("PROPOSEMODE: panel1 can't display requested mode, aborted.\n"));
return B_ERROR;
}
}
if (si->ps.tmds2_active)
{
if ((target->timing.h_display > si->ps.p2_timing.h_display) ||
(target->timing.v_display > si->ps.p2_timing.v_display))
{
LOG(4, ("PROPOSEMODE: panel2 can't display requested mode, aborted.\n"));
return B_ERROR;
}
}
/* validate display vs. virtual */
if ((target->timing.h_display > target->virtual_width) || want_same_width)
target->virtual_width = target->timing.h_display;

View File

@ -80,7 +80,7 @@ status_t nv_general_powerup()
{
status_t status;
LOG(1,("POWERUP: nVidia (open)BeOS Accelerant 0.10-22 running.\n"));
LOG(1,("POWERUP: nVidia (open)BeOS Accelerant 0.10-23 running.\n"));
/* preset no laptop */
si->ps.laptop = false;

View File

@ -4,7 +4,7 @@
</head>
<body>
<p><h2>Changes done for each driverversion:</h2></p>
<p><h1>head (0.10-22), (Rudolf)</h1></p>
<p><h1>head (0.10-23), (Rudolf)</h1></p>
<ul>
<li>Implemented laptop internal flatpanel presence and native resolution detection;
<li>Implemented external DVI flatpanel(s) presence and native resolution detection;
@ -24,7 +24,8 @@
<li>Added output-devices/heads matrix setup: the driver now selects the right head for primary output and dualhead should work for all cards with all monitor-types now (if connected before boot);
<li>Updated head selection code for register programming: NV11 needs a special treatment (again); NV11 dualhead modes are finally OK now, including switch mode;
<li>Updated secondary head specs: they are improved for nview cards (like GeForce4 and FX) in comparison to twinview cards (like GeForce2);
<li>Added move_overlay() so overlay (finally) works correctly in virtualscreens.
<li>Added move_overlay() so overlay (finally) works correctly in virtualscreens;
<li>Added blocking of modes above panel (with lowest) native resotution.
</ul>
The 'features' listed below are temporarily(?) shutdown. If your panel does not work with driver 0.10-17, <strong>PLEASE SEND FEEDBACK!</strong> Send me a logfile with full logging enabled as well. <strong>Feedback without accompaning logfiles are of very little use!</strong><br>
<br>