i810 driver: Xv on mergefd
Erwin Rol
mailinglists at erwinrol.com
Mon Aug 28 08:48:29 PDT 2006
On Mon, 2006-08-28 at 16:29 +0100, Alan Hourihane wrote:
> On Mon, 2006-08-28 at 17:19 +0200, Erwin Rol wrote:
> > Also the LVDS panel seems to flicker, i didn't have this with the other
> > branches (like modesetting). Any ideas why this is different ?
>
> Are you sure it's getting the right refresh rate ?
It probably is not the right refresh rate, the problem is how do i get
the right refresh rate.
I need a hack to get my 1280x800 panel working, because the BIOS only
supports 1024x768 and 1280x1024 panels on the LVDS port. If i don't have
the hack it doesn't flicker but it only allows 1024x768 in the top left
corner of the LVDS-Panel. When i apply the following patch, i get my
full 1280x800 resolution. With the modesetting branch this patch also
works, but it doesn't flicker. Since it is a direct panel without a OSD
i can't really check the refresh rate, but the CRT has 60Hz and it
almost looks like the LVDS-panel only have half of that.
- Erwin
--- a/driver/xf86-video-intel/src/i830_bios.c
+++ b/driver/xf86-video-intel/src/i830_bios.c
@@ -191,6 +191,18 @@ i830GetLVDSInfoFromBIOS(ScrnInfoPtr pScr
continue;
}
+#if 1
+// ER start
+ fpparam->x_res = 1280;
+ fpparam->y_res = 800;
+
+ fptiming->hactive = 1280 & 0xFF;
+ fptiming->high_h = ((1280 >> 4) & 0xF0) | (fptiming->high_h & 0x0F);
+
+ fptiming->vactive = 800 & 0xFF;
+ fptiming->high_v = ((800 >> 4) & 0xF0) | (fptiming->high_v & 0x0F);
+// ER end
+#endif
pI830->PanelXRes = fpparam->x_res;
pI830->PanelYRes = fpparam->y_res;
xf86DrvMsg(pScrn->scrnIndex, X_INFO,
More information about the xorg
mailing list