Re: [Mesa-dev] [PATCH V2 1/2] i965: Add and initialize l3_banks field for gen7+

2017-06-01 Thread Francisco Jerez
Anuj Phogat writes: > This new field helps simplify l3 way size computations > in next patch. > > V2: Initialize the l3_banks to 0 in macros. > You don't really need to explicitly initialize things to zero in the macros, zero is the default struct members are initialized to in C when an explicit

[Mesa-dev] [PATCH V2 1/2] i965: Add and initialize l3_banks field for gen7+

2017-06-01 Thread Anuj Phogat
This new field helps simplify l3 way size computations in next patch. V2: Initialize the l3_banks to 0 in macros. Suggested-by: Francisco Jerez Signed-off-by: Anuj Phogat Cc: Francisco Jerez --- src/intel/common/gen_device_info.c | 33 ++--- src/intel/common/gen_de