[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <157048498331.8520.2832276261708225981@skylake-alporthouse-com>
Date: Mon, 07 Oct 2019 22:49:43 +0100
From: Chris Wilson <chris@...is-wilson.co.uk>
To: Colin King <colin.king@...onical.com>,
Daniel Vetter <daniel@...ll.ch>,
David Airlie <airlied@...ux.ie>,
Jani Nikula <jani.nikula@...ux.intel.com>,
Joonas Lahtinen <joonas.lahtinen@...ux.intel.com>,
Rodrigo Vivi <rodrigo.vivi@...el.com>,
dri-devel@...ts.freedesktop.org, intel-gfx@...ts.freedesktop.org
Cc: kernel-janitors@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] drm/i915: make array hw_engine_mask static, makes object smaller
Quoting Chris Wilson (2019-10-07 17:22:52)
> Quoting Colin King (2019-10-07 16:41:51)
> > From: Colin Ian King <colin.king@...onical.com>
> >
> > Don't populate the array hw_engine_mask on the stack but instead make it
> > static. Makes the object code smaller by 316 bytes.
> >
> > Before:
> > text data bss dec hex filename
> > 34004 4388 320 38712 9738 gpu/drm/i915/gt/intel_reset.o
> >
> > After:
> > text data bss dec hex filename
> > 33528 4548 320 38396 95fc gpu/drm/i915/gt/intel_reset.o
> >
> > (gcc version 9.2.1, amd64)
> >
> > Signed-off-by: Colin Ian King <colin.king@...onical.com>
> Reviewed-by: Chris Wilson <chris@...is-wilson.co.uk>
And pushed, thanks for the patch.
-Chris
Powered by blists - more mailing lists