Re: [RFC 0/2] Compile out integrated

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 01/02/2022 11:15, Tvrtko Ursulin wrote:
From: Tvrtko Ursulin <tvrtko.ursulin@xxxxxxxxx>

Quicky and dirty hack based on some old ideas. Thought maybe the approach might
interest the Arm port guys. But with IS_GEN_RANGE removed easy gains are not so
big so meh.. Maybe some more easy wins with IS_DISPLAY_VER but I haven't looked
into that side.

  3884664  449681    6720 4341065  423d49 i915.ko.tip
  3599989  429034    6688 4035711  3d947f i915.ko.noigp

Note debug kconfig so everything is inflated. Whether or not the relative gain
would change with production kconfig I am not sure.

Non debug build for the record:

   text    data     bss     dec     hex filename
2188446   20528    2944 2211918  21c04e i915.ko.tip
1926865   17776    2944 1947585  1db7c1 i915.ko.noigpu

So around ~12% of the driver eliminated as dead code with the easy and incomplete approach. Not bad considering no clean split on Gen12, gen based if-ladder are mostly untouched and no LTO.

Regards,

Tvrtko



[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux