[PATCH 0/9] .rodata diet 2 (non-disruptive version)

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

 



From: Tvrtko Ursulin <tvrtko.ursulin@xxxxxxxxx>

Drive by shrinkage of various static const tables. Also, Joonas complained about
some unsightly casts and too casual data type usage in the watermark code so
I've added a few fixes for that as well.

Series altogether saves around 3.5KiB of combined .text and .rodata.

   text    data     bss     dec     hex filename
1069462   23256     576 1093294  10aeae i915.ko.nightly-161007
1065785   23256     576 1089617  10a051 i915.ko.rodatawm

Tvrtko Ursulin (9):
  drm/i915: Shrink cxsr_latency_table
  drm/i915: Shrink sdvo_cmd_names
  drm/i915: Shrink per-platform watermark configuration
  drm/i915: Shrink TV modes const data
  drm/i915: Use unsigned int for latencies
  drm/i915: unsigned int is enough for crtc clock
  drm/i915: Convert get_fifo_size return from int to unsigned int
  drm/i915: Make intel_calculate_wm return unsigned int
  drm/i915: Tidy watermark computation local types

 drivers/gpu/drm/i915/i915_drv.h   |   2 +-
 drivers/gpu/drm/i915/intel_drv.h  |  26 +++----
 drivers/gpu/drm/i915/intel_pm.c   | 146 ++++++++++++++++++--------------------
 drivers/gpu/drm/i915/intel_sdvo.c |   2 +-
 drivers/gpu/drm/i915/intel_tv.c   |  50 +++++++------
 5 files changed, 115 insertions(+), 111 deletions(-)

-- 
2.7.4

_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux