Skip to content

RFC Compile out integrated

Tvrtko Ursulin intel-gfx 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest2 patches 12 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2igp kconfigdrivers/gpu/drm/i915/Kconfig drivers/gpu/drm/i915/Kconfig.platforms drivers/gpu/drm/i915/i915_drv.h +1 more+129 -530 replies
2/2jsl/ehldrivers/gpu/drm/i915/display/intel_ddi_buf_trans.c drivers/gpu/drm/i915/display/intel_dpll_mgr.c drivers/gpu/drm/i915/i915_drv.h+5 -31 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Intel-gfx] [RFC 0/2] Compile out integrated

From: Tvrtko Ursulin <[email protected]>

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.

P.S.
I was a bit curious there were no build errors around functions no longer used so either there were none (would mean patch is not really that effective), or something changed with compiler warnings/smarts. Haven't looked into it.

Tvrtko Ursulin (2):
igp kconfig
jsl/ehl

 drivers/gpu/drm/i915/Kconfig                  |   5 +
 drivers/gpu/drm/i915/Kconfig.platforms        |   7 +
 .../drm/i915/display/intel_ddi_buf_trans.c    |   4 +-
 drivers/gpu/drm/i915/display/intel_dpll_mgr.c |   2 +-
 drivers/gpu/drm/i915/i915_drv.h               | 128 +++++++++++-------
 drivers/gpu/drm/i915/i915_pci.c               |  44 +++++-
 6 files changed, 134 insertions(+), 56 deletions(-)
 create mode 100644 drivers/gpu/drm/i915/Kconfig.platforms
Signature · 1 line
2.32.0