[Intel-gfx] [PATCH v2 2/6] drm/i915/guc: Add GuC css header parser

Daniel Vetter daniel at ffwll.ch
Mon Sep 28 01:13:16 PDT 2015

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 Vetter
Software Engineer, Intel Corporation

More information about the Intel-gfx mailing list