added DFP aspect correction centering, cutting and displaymode aspect checking

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7025 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Rudolf Cornelissen
2004-03-18 13:59:12 +00:00
parent a973fe9ed0
commit 8592d389a6
2 changed files with 7 additions and 5 deletions
@@ -313,7 +313,7 @@ static void detect_panels()
* are used!
* Currently we'd loose the panel setup while not being able to restore it. */
/* Note:
* NV11 cards can't distinquish between head 1 and head 2. */
* NV11 and NV17 cards can't distinquish between head 1 and head 2. */
if (slaved_for_dev1 && !tvout1)
{
uint16 width = ((DACR(FP_HDISPEND) & 0x0000ffff) + 1);
@@ -326,7 +326,8 @@ static void detect_panels()
si->ps.panel1_height = height;
}
}
if ((si->ps.card_type != NV11) &&
//fixme?!?: how about NV18??, CRTC2 has panel instead of CRTC1???
if ((si->ps.card_type != NV11) && (si->ps.card_type != NV17) &&
si->ps.secondary_head && slaved_for_dev2 && !tvout2)
{
uint16 width = ((DAC2R(FP_HDISPEND) & 0x0000ffff) + 1);
@@ -351,7 +352,8 @@ static void detect_panels()
si->ps.panel1_height = height;
}
}
if ((si->ps.card_type != NV11) &&
//fixme?!?: how about NV18??, CRTC2 has panel instead of CRTC1???
if ((si->ps.card_type != NV11) && (si->ps.card_type != NV17) &&
si->ps.secondary_head && !si->ps.slaved_tmds2 && !tvout2)
{
uint16 width = ((DAC2R(FP_HDISPEND) & 0x0000ffff) + 1);
@@ -4,14 +4,14 @@
</head>
<body>
<p><h2>Changes done for each driverversion:</h2></p>
<p><h1>head (0.10-7), (Rudolf)</h1></p>
<p><h1>head (0.10-8), (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;
<li>Added flatpanel(s) refreshrate protection: it(they) is(are) always kept at 60Hz refresh;
<li>Added flatpanel specific CRTC modeline and DFP modeline tuning: DVI connected panels work now on both heads (if applicable);
<li>Fixed fullscreen overlay on DVI panels;
<li>Added aspect correction programming for widescreen panels;
<li>Added aspect correction programming for flatpanels: corrects if mode aspect differs too much from panel aspect;
<li>Fixed acceleration engine management regarding sync_to_token: no more updating glitches should occur now.
</ul>
NOTE:<br>