[PATCH v2] drm/radeon: Print gart initialization details on all chipsets
lists.tormod at gmail.com
Wed Aug 31 03:52:46 PDT 2011
2011/8/31 Michel Dänzer <michel at daenzer.net>:
> 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
> 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.
Should I use llX if casting to long long then?
More information about the dri-devel