On Fri, Sep 25, 2015 at 09:31:52AM -0700, Yu Dai wrote: > Be note that I will use term *length* or *len* in header definition, which > is in dwords unit. This is to avoid the confusion with *size*. lenght is also generally in bytes. If you want to use separate variables to avoid confusion I'd suggest num_dwords (treat it like an array of dwords) or size_dw (_dw as the unit suffix, like we do with e.g. _usec). -Daniel -- Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/intel-gfx