[PATCH v2] drm/radeon: Print gart initialization details on all chipsets

Michel Dänzer michel at daenzer.net
Wed Aug 31 01:16:08 PDT 2011

On Die, 2011-08-30 at 11:15 +0200, Tormod Volden wrote:
> 2011/8/30 Michel Dänzer <michel at daenzer.net>:
> >> This was previously done for r300 only. Use %p instead of %08X for
> >> printing the table address.
> >
> > sizeof(dma_addr_t) can be 8 even when sizeof(void*) is 4.
> Thanks, I will send a new patch, using "0x%016lX". Will that work for
> everybody?

I suspect that'll give a warning when sizeof(dma_addr_t) is 8 but
sizeof(unsigned long) is 4.

I don't know if there's a better solution than using "0x%016lX" and
casting to unsigned long long. 

Earthling Michel Dänzer           |                   http://www.amd.com
Libre software enthusiast         |          Debian, X and DRI developer

More information about the dri-devel mailing list