[Intel-gfx] [RFC 00/15] Selectable platform support

Tvrtko Ursulin tvrtko.ursulin at linux.intel.com
Fri Feb 9 10:48:23 UTC 2018


On 08/02/2018 13:05, Tvrtko Ursulin wrote:
> From: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
> 
> 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.

Regards,

Tvrtko


More information about the Intel-gfx mailing list