Re: [PATCH] gpu: ipu-v3: make array 'int_reg' static, shrinks object size

2018-01-08 Thread Philipp Zabel
Hi Colin, On Sat, 2018-01-06 at 17:28 +, Colin King wrote: > From: Colin Ian King > > Don't populate the const read-only array 'int_reg' on the stack but instead > make it static. Makes the object code smaller by over 80 bytes: > > Before: >text data

Re: [PATCH] gpu: ipu-v3: make array 'int_reg' static, shrinks object size

2018-01-08 Thread Philipp Zabel
Hi Colin, On Sat, 2018-01-06 at 17:28 +, Colin King wrote: > From: Colin Ian King > > Don't populate the const read-only array 'int_reg' on the stack but instead > make it static. Makes the object code smaller by over 80 bytes: > > Before: >text data bss dec hex

[PATCH] gpu: ipu-v3: make array 'int_reg' static, shrinks object size

2018-01-06 Thread Colin King
From: Colin Ian King Don't populate the const read-only array 'int_reg' on the stack but instead make it static. Makes the object code smaller by over 80 bytes: Before: textdata bss dec hex filename 280248936 192 371529120

[PATCH] gpu: ipu-v3: make array 'int_reg' static, shrinks object size

2018-01-06 Thread Colin King
From: Colin Ian King Don't populate the const read-only array 'int_reg' on the stack but instead make it static. Makes the object code smaller by over 80 bytes: Before: textdata bss dec hex filename 280248936 192 371529120 drivers/gpu/ipu-v3/ipu-common.o