[ltp] big radeon patch (includes lvds+ internal tmds support)

Alex Deucher linux-thinkpad@linux-thinkpad.org
Thu, 30 Jun 2005 17:16:53 -0400


On 6/30/05, Guillermo Latorre <superwillyfoc@rastafurbi.org> wrote:
> On s=E1b, 2005-06-25 at 13:12 -0400, Alex Deucher wrote:
> > https://bugs.freedesktop.org/show_bug.cgi?id=3D3621
> >
> > This is a big collection of all the fixing I've been working on over th=
e last
> > few weeks.  It's a big patch, but I can break it up when it's ready for=
 cvs .
> > It's partly based on an old patch from Hui Yu as well as some tv-out sa=
mple code
> > from ati.
> >
> Hi Alex!!
>=20
> I am really interested on trying the Super Patch, but don't know how to
> do it. I want the TV-Out feature, and now I can see the source files on
> your web, but don't know how to do with them...

tv-out isn't working yet.  I haven't figured out just why yet.  the
code is mostly there for reference in the hopes someone will help me
debug it.

>=20
> I have patched something before, but .patch files... you know...

.diff is the same as .patch.  they are both patches to try my patches
all you need to do is copy the new .c/.h files into the radeon driver
directory and then apply the patch:
patch -p0 -i superpatch_radeon.diff
Finally rebuild the driver.

Alex

>=20
> If you could give me some help...
> Thank you very much,
> and sorry for my bad English...
>=20
> Guille
>=20
> Oh, I have a Thinkpad T41 with Ati Radeon M7 7500
> > New features:
> > - output mapping.  either crtc can drive any output.  An option, revers=
edisplay,
> > lets you swap the crtc maps.  Works well
> > - tv-out.  I haven't done extensive testing, since I don't have a tv ne=
ar my pc.
> > pluging it into my tv-card results in an out of sync signal.  needs tes=
ting and
> > fixing.  also tv auto-detect is not yet implemented as I don't know
> > how to do it.
> > - LVDS + internal TMDS.  if you have a laptop or docking station with L=
VDS and a
> > DVI port, set your monitorlayout to "LVDS, TMDS" and it should work, ho=
wever, I
> > don't have such a laptop/docking station to test with, so it may need s=
ome small
> > tweaks yet.  Please test and let me know how it goes.
> > - fix tiling on r3/4xx.  tiled framebuffer now works perfectly on
> > r3/4xx hardware
> > - fix dynamicclocks code.  several OUTREGs should have been OUTPLLs
> > - fix corruption on high res modes on on r3/4xx.  if displaypriority is=
 set to
> > HIGH, bump up the display priority in the memory controller.  according=
 to the
> > databooks, this is the proper behavior for hi-res displays the controll=
er can't
> > handle with the default priority.
> >
> > The patch is pretty invasive so there is a possibility that I've broken=
 old
> > functionality or lost certain fixes.  I've tried to be careful, but it =
could
> > definitely use some more testing.
> >
> > Similar to Hui's old patch, I've moved much of the display code to a ne=
w
> > radeon_display.c.  I've also added radeon_tvout.c and radeon_tvout.h to=
 support
> > tv-out.  Add the new files and apply the patch.
> >
> > The latest and greatest is available here:
> > http://www.botchco.com/alex/xorg/superpatch/
> >
> > Alex
>=20
> --
> The linux-thinkpad mailing list home page is at:
> http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad
>