Comment 7 for bug 1091380

Revision history for this message
In , Airlied-freedesktop (airlied-freedesktop) wrote :

(In reply to comment #3)
> (In reply to comment #2)
> > can you attach the ROM output of the second ROM?
> >
> > echo 1 > /sys/path_to_rom
> > then cat /sys/path_to_rom > /tmp/test.bin
>
> Technically no problem, but can we go around posting ATI roms on the net without
> being sued by ATI ?

okay send me a copy by direct e-mail <email address hidden>.

>
> > it should be 2K...
>
> ls -l shows its full length as specified in the BAR register, but reading it
> will return only 2k (which is specified in the ROM header after the AA 55).
>
> >
> > I'm just trying to figure out how to fix this nicely from Linux or from X.

The problem is we can't trust any length field in a ROM we always discover a ROM
that lies through its arse.. I'm wondering if some sort of listing might be
needed. I'll think about it a bit, also why the old X code works and Linux
kernel doesn't..