[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xfree-xpert
Subject:    RE: [xpert]i815 - overlay output
From:       "Sottek, Matthew J" <matthew.j.sottek () intel ! com>
Date:       2001-11-29 19:50:46
[Download RAW message or body]


Wait...
I think this is going to be i815M specific. You'll probably have
to check the chip revision to be sure. Do something like

if(pI810->PciInfo->chipRev == <Whatever yours is>) {
   i810Reg->OverlayActiveStart = mode->CrtcHTotal - 16;
   i810Reg->OverlayActiveEnd = mode->CrtcHDisplay - 16;
}
else {
   i810Reg->OverlayActiveStart = mode->CrtcHTotal - 32;
   i810Reg->OverlayActiveEnd = mode->CrtcHDisplay - 32;
}


I'll do some testing and see if this problem really only happens on
the i815M or if it will happen on all i810/i815 with an LCD. The
test above should at least be safe until we know for sure.

 -Matt


i finally got it i applied the patch to i810_driver.c
Thanks Matt for the hint :) 

--- i810_driver-unpatched.c    Thu Nov 29 19:40:28 2001
+++ i810_driver.c       Thu Nov 29 19:40:01 2001
@@ -1452,8 +1452,8 @@
    }

    /* OVRACT Register */
-   i810Reg->OverlayActiveStart = mode->CrtcHTotal - 32;
-   i810Reg->OverlayActiveEnd = mode->CrtcHDisplay - 32;
+   i810Reg->OverlayActiveStart = mode->CrtcHTotal - 16;
+   i810Reg->OverlayActiveEnd = mode->CrtcHDisplay - 16;


    /* Turn on interlaced mode if necessary */


You can get the binary at http://shell.dnload.com/i810_drv.o
Markus
_______________________________________________
Xpert mailing list
Xpert@XFree86.Org
http://XFree86.Org/mailman/listinfo/xpert
_______________________________________________
Xpert mailing list
Xpert@XFree86.Org
http://XFree86.Org/mailman/listinfo/xpert

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic