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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mit, 2011-08-31 at 12:52 +0200, Tormod Volden wrote: 
> 2011/8/31 Michel Dänzer <michel@xxxxxxxxxxx>:
> > On Die, 2011-08-30 at 11:15 +0200, Tormod Volden wrote:
> >> 2011/8/30 Michel Dänzer <michel@xxxxxxxxxxx>:
> >> >> 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
solution.


-- 
Earthling Michel Dänzer           |                   http://www.amd.com
Libre software enthusiast         |          Debian, X and DRI developer
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/dri-devel



[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux