[PATCH v2] drm/radeon: Print gart initialization details on all chipsets
michel at daenzer.net
Wed Aug 31 03:55:13 PDT 2011
On Mit, 2011-08-31 at 12:52 +0200, Tormod Volden wrote:
> 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
> >> 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.
> Should I use llX if casting to long long then?
Yeah sorry, that's what I meant. But maybe somebody knows a better
Earthling Michel Dänzer | http://www.amd.com
Libre software enthusiast | Debian, X and DRI developer
More information about the dri-devel