Skip to content

Claw back optimised IS_PLATFORM checks

Tvrtko Ursulin intel-gfx 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3drm/i915: Add IS_PLATFORM macrodrivers/gpu/drm/i915/i915_drv.h+27 -251 reply
2/3drm/i915: Compact device info access by a small re-orderingdrivers/gpu/drm/i915/i915_drv.h+13 -71 reply
3/3drm/i915: Allow optimized platform checksdrivers/gpu/drm/i915/i915_drv.c drivers/gpu/drm/i915/i915_drv.h+8 -14 replies

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchJani Nikula
1/3R-b
2/3R-b
3/3

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/3] Claw back optimised IS_PLATFORM checks

From: Tvrtko Ursulin <[email protected]>

Some time ago we stopped letting the compiler merge code like IS_SKYLAKE || IS_KABYLAKE || IS_... into a single conditional in all cases. This series quickly restores that for a nice overall saving and hopefully with a bearable impact on the code base.

text data bss dec hex filename

-1460454          60014    3656 1524124  17419c drivers/gpu/drm/i915/i915.ko
+1459260          60026    3656 1522942  173cfe drivers/gpu/drm/i915/i915.ko

Tvrtko Ursulin (3):
drm/i915: Add IS_PLATFORM macro
drm/i915: Compact device info access by a small re-ordering drm/i915: Allow optimized platform checks

 drivers/gpu/drm/i915/i915_drv.c |  6 ++++
 drivers/gpu/drm/i915/i915_drv.h | 73 +++++++++++++++++++++++------------------
 2 files changed, 47 insertions(+), 32 deletions(-)
Signature · 6 lines
2.9.5

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