Skip to content

.rodata diet 2 (non-disruptive version)

Tvrtko Ursulin intel-gfx 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest9 patches 16 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9drm/i915: Shrink cxsr_latency_tabledrivers/gpu/drm/i915/intel_drv.h drivers/gpu/drm/i915/intel_pm.c+10 -101 reply
2/9drm/i915: Shrink sdvo_cmd_namesdrivers/gpu/drm/i915/intel_sdvo.c+1 -11 reply
3/9drm/i915: Shrink per-platform watermark configurationdrivers/gpu/drm/i915/intel_drv.h drivers/gpu/drm/i915/intel_pm.c+7 -71 reply
4/9drm/i915: Shrink TV modes const datadrivers/gpu/drm/i915/intel_tv.c+30 -203 replies
5/9drm/i915: Use unsigned int for latenciesdrivers/gpu/drm/i915/intel_pm.c+8 -82 replies
6/9drm/i915: unsigned int is enough for crtc clockdrivers/gpu/drm/i915/intel_pm.c+1 -11 reply
7/9drm/i915: Convert get_fifo_size return from int to unsigned intdrivers/gpu/drm/i915/i915_drv.h drivers/gpu/drm/i915/intel_pm.c+19 -191 reply
8/9drm/i915: Make intel_calculate_wm return unsigned intdrivers/gpu/drm/i915/intel_pm.c+17 -192 replies
9/9drm/i915: Tidy watermark computation local typesdrivers/gpu/drm/i915/intel_pm.c+28 -324 replies

Reviews trailers per patch

8 of 9 patches have a Reviewed-by or Acked-by.

PatchVille SyrjäläJoonas Lahtinen
1/9R-b
2/9R-b
3/9A-b R-b
4/9R-b
5/9R-b
6/9R-b
7/9R-b
8/9R-b
9/9

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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

From: Tvrtko Ursulin <[email protected]>

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(-)
Signature · 6 lines
2.7.4

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx