On 8/31/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Hey all,
> I've been lurking about these lists for a while, but ATI's insistence on not
> only not fixing a long-standing bug in their drivers, but also making it
> WORSE, has caused me to rethink taking the time to get open-source DRI fully
> working on these chips.  As we all know, the memory controller on these
> particular Xpress chips is quite different from a normal Radeon.  What I'm
> asking is, what _specifically_ do I have to do in order to get usable
> information that I can then take and try to hack into the radeon driver?  I
> am no stranger to the Linux kernel nor to hardware driver code, and I'm more
> than willing to do whatever I have to to get _real_ support on these chips.
> I guess I'm asking for someone who can guide me through the process of
> extracting the correct information, putting it in the correct place, and
> making it readable and consistent with existing code.

Once you get fglrx up and running, use a prgram like radeontool or
radeon_dump 
(http://www.botchco.com/alex/radeon/mergedfb/cvs/DRI/hy0/radeon_dump.tgz)
to dump the radeon's registers.  Compare this dump to a dump when
using the opensource radeon driver.  Take a look at the set up of the
memory controller (see radeon_reg.h, regs with MC)
e.g.:

#define R300_MC_IND_INDEX 0x01f8
#define R300_MC_IND_DATA 0x01fc
and other MC related regs like:
#define R300_MC_INIT_MISC_LAT_TIMER 0x180
#define RADEON_MC_FB_LOCATION 0x0148

The memory controller is an indexed set of regs (think vga regs,
program the register index into the MC index reg and read/write from
the MC data reg, similar to the radeon pll regs) .

compare the set up and then try programming the open driver the same
way.  try a 3d app and see what happens.  Note you'll have to remove
the checks from the ddx and dri that currently prevent 3D from running
on XPRESS chips.

Feel free to ask questions if you get stuck or need help figure out
what various bit fields mean.

Alex

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
--
_______________________________________________
Dri-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to