[Openchrome-users] VM800: xv issues on Panel
Martin Jürgens
martin
Mon Jan 22 07:24:34 PST 2007
Hi!
Do you have any remaining ideas how to fix the problem? I'd be really
happy to see it fixed.
By the way: In the VIA drivers, the problem does not appear, so maybe
you can adopt something from there?
Thanks for your efforts,
Martin
On Sa, 2006-12-02 at 14:25 +0100, Martin J?rgens wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> - -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi!
> Sorry for the delay. I now had time to try the patch. Sadly, it does not
> fix the xv issue for me.
>
> Martin
>
> Thomas Hellstr?m wrote:
> > Thomas Hellstr?m wrote:
> >
> >> Martin J?rgens wrote:
> >>
> >>
> >>
> >>> I have the same issue with a VN800 chipset on Amilo Pro V2030.
> >>>
> >>> Martin
> >>>
> >>> Am Freitag, 17. November 2006 18:28 schrieb jdoe:
> >>>
> >>>
> >>>
> >>>> Re: VM800: xv issues on Panel
> >>>> Ok, so I figured out the LCD-issue. In order to enable LCD you need
> >>>> to add
> >>>> video card to database. I've patched via_id.c:
> >>>>
> >>>> --- via_id.c (revision 227)
> >>>> +++ via_id.c (working copy)
> >>>> @@ -180,6 +180,7 @@
> >>>> {"Fujitsu/Siemens Amilo L7320", VIA_VM800, 0x1734,
> >>>> 0x10CD,
> >>>> VIA_DEVICE_CRT | VIA_DEVICE_LCD}, {"ASRock
> >>>> P4VM800", VIA_VM800, 0x1849, 0x3344,
> >>>> VIA_DEVICE_CRT}, {"Asustek P5V800-MX", VIA_VM800,
> >>>> 0x3344, 0x1122, VIA_DEVICE_CRT}, + {"Clevo/RoverBook Partner
> >>>> E419L", VIA_VM800, 0x1019, 0x0f75,
> >>>> VIA_DEVICE_CRT | VIA_DEVICE_LCD}, /* keep this */
> >>>> {NULL, VIA_UNKNOWN, 0x0000,
> >>>> 0x0000,
> >>>> VIA_DEVICE_NONE} };
> >>>>
> >>>> But still no luck with xv :(
> >>>> Guy common throw me a bone here.
> >>>>
> >>>> ----
> >>>>
> >>>>
> >> I might have a patch for you to test next week.
> >>
> >>
> > OK,
> > Can anyone test the attached patch to see if it makes panel Xv work?
> >
> > /Thomas
> >
> >
> >
> > ------------------------------------------------------------------------
> >
> > Index: unichrome/via_swov.c
> > ===================================================================
> > --- unichrome/via_swov.c (revision 229)
> > +++ unichrome/via_swov.c (working copy)
> > @@ -1396,18 +1396,18 @@
> >
> > /*SaveVideoRegister(pVia, V_COLOR_KEY, keyLow); */
> >
> > - if (videoFlag & VIDEO_1_INUSE) {
> > + if ((videoFlag & VIDEO_1_INUSE) || !pVia->HWDiff.dwSupportTwoColorKey) {
> > SaveVideoRegister(pVia, V_COLOR_KEY, keyLow);
> > + SaveVideoRegister(pVia, SND_COLOR_KEY, keyLow);
> > } else {
> > - if (pVia->HWDiff.dwSupportTwoColorKey) /*CLE_C0 */
> > SaveVideoRegister(pVia, V3_COLOR_KEY, keyLow);
> > }
> >
> > /*compose = (compose & ~0x0f) | SELECT_VIDEO_IF_COLOR_KEY; */
> > /*CLE_C0 */
> > compose =
> > - (compose & ~0x0f) | SELECT_VIDEO_IF_COLOR_KEY |
> > - SELECT_VIDEO3_IF_COLOR_KEY;
> > + (compose & ~0x0003000f) | SELECT_VIDEO_IF_COLOR_KEY |
> > + SELECT_VIDEO3_IF_COLOR_KEY | SECOND_DISPLAY_COLOR_KEY_ENABLE;
> > /*compose = (compose & ~0x0f) ; */
> >
> > return compose;
> > @@ -1437,10 +1437,8 @@
> > }
> >
> > /* Modified by Scottie[2001.12.5] for select video if (Color key & Chroma key) */
> > - if (compose == SELECT_VIDEO_IF_COLOR_KEY)
> > - compose = SELECT_VIDEO_IF_COLOR_KEY | SELECT_VIDEO_IF_CHROMA_KEY;
> > - else
> > - compose = (compose & ~0x0f) | SELECT_VIDEO_IF_CHROMA_KEY;
> > +
> > + compose |= SELECT_VIDEO_IF_CHROMA_KEY;
> >
> > return compose;
> > }
> > @@ -1636,8 +1634,10 @@
> > proReg = PRO_HQV1_OFFSET;
> >
> > compose = (VIDInD(V_COMPOSE_MODE) &
> > - ~(SELECT_VIDEO_IF_COLOR_KEY | V1_COMMAND_FIRE | V3_COMMAND_FIRE)) |
> > - V_COMMAND_LOAD_VBI;
> > + ~(SELECT_VIDEO_IF_COLOR_KEY | SECOND_DISPLAY_COLOR_KEY_ENABLE |
> > + SELECT_VIDEO3_IF_COLOR_KEY |
> > + V1_COMMAND_FIRE | V3_COMMAND_FIRE)) |
> > + V_COMMAND_LOAD_VBI;
> >
> > DBG_DD(ErrorF("// Upd_Video:\n"));
> > DBG_DD(ErrorF("Modified rSrc X (%ld,%ld) Y (%ld,%ld)\n",
>
> - -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.5 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFFcX3H4L7OnT0GlBoRArqAAJ42SUmRfK0U6KDdaWV8BvtcbDCX0gCgixVU
> EnPaZQtPl8/mp9YdvUwdpZA=
> =74DJ
> - -----END PGP SIGNATURE-----
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.5 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFFcX7I4L7OnT0GlBoRAoAOAJ9AhCWgAnyk7830EhVoiQWfo8mSmgCfT04z
> +SA4Y6mltoYrsI9gpnBQ4Eg=
> =/soA
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> openchrome-users mailing list
> openchrome-users at openchrome.org
> http://wiki.openchrome.org/mailman/listinfo/openchrome-users
> Main page:
> http://www.openchrome.org
> Wiki:
> http://wiki.openchrome.org
> User Forum:
> http://wiki.openchrome.org/tikiwiki/tiki-view_forum.php?forumId=1
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://wiki.openchrome.org/pipermail/openchrome-users/attachments/20070122/494e0de2/attachment.bin
More information about the Openchrome-users
mailing list