[PATCH 26/26] drm/radeon: add the ib content and relocs to the ring debugfs file

Jerome Glisse j.glisse at gmail.com
Wed Apr 25 09:15:15 PDT 2012


2012/4/25 Christian König <deathsimple at vodafone.de>:
> On 25.04.2012 16:36, Jerome Glisse wrote:
>>
>> NAK i would rather have a full dump as i described. I can do a patch
>> for that if you want.
>>
> I don't stick with those files neither, just wanted to restore the same
> functionality as we had before.
>
> Just finished a conference call with Alex and the rest of the team, and Alex
> suggested that we stick with the AMD internal binary format for crash dumps.
> With that we could reuse the AMD internal tools, but the obvious downside is
> that those aren't available to you (for example).
>
> We should sync with Alex how that format looks like, and if we
> could/should/whatever move the driver to wards it.
>
> Cheers,
> Christian.
>
> PS: I'm not at home this evening, so please answer on my AMD mail address
> also.


I don't know the AMD format, what i propose is take the easier format
for kernel side.
If it's not amd we can do a tools to convert from blob to amd in userspace.

blob format is something like:
u32 type
u32 id
u32 size (dword aligned)
data (dword aligned)

So it's very primitive. I am finishing patch to do that will send it shortly.

Cheers,
Jerome


More information about the dri-devel mailing list