Quoting Tvrtko Ursulin (2018-02-09 10:48:23) > > On 08/02/2018 13:05, Tvrtko Ursulin wrote: > > From: Tvrtko Ursulin <tvrtko.ursulin@xxxxxxxxx> > > > > For Joonas basically. :) > > > > Rough goal - add Kconfig options to turn off supported platforms and count on > > compiler DCE to make the driver smaller. > > > > Tested as so much that it boots and renders on Skylake with all platforms/gens > > older than Gen8 turned off. > > > > text data bss dec hex filename > > 1502847 54223 2888 1559958 17cd96 i915.ko.original > > 1375647 51939 2888 1430474 15d3ca i915.ko.gen8+ > > I've finished this today (all platforms plus some more details and > changes) but wont' post it again. Instead who is interested can see it > in my freedesktop git repo - people.freedesktop.org/~tursulin/drm-intel > platform-kconfig - but for some reason it is not showing in GitWeb any > longer. > > Anyway.. with the latest build the i915.ko size goes from 15600073 to > 1256697 when I enable only Skylake via Kconfig. This is 296kiB and close > to 20% saving. Could you post ./scripts/bloat-o-meter? -Chris _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx