[Intel-gfx] [PATCH 00/15] Remove __I915__ magic macro

Tvrtko Ursulin tursulin at ursulin.net
Wed Nov 16 08:55:30 UTC 2016


From: Tvrtko Ursulin <tvrtko.ursulin at intel.com>

Yet more churn. :) But good news are they are mostly really small patches, with
the exception to intel_display.c and some heavier function prototype changes
in i915_gem_gtt.c. Just to avoid having a lot of functions which take dev and
actually need dev_priv.

Small shrink of the driver binary and small source code lines shrink.

   text    data     bss     dec     hex filename
1076575   23749     576 1100900  10cc64 i915.ko.0
1076079   23749     576 1100404  10ca74 i915.ko.2

Tvrtko Ursulin (15):
  drm/i915: dev_priv and a small cascade of cleanups in i915_gem.c
  drm/i915: Use dev_priv in INTEL_INFO in i915_gem_execbuffer.c
  drm/i915: Use dev_priv in INTEL_INFO in i915_gem_fence_reg.c
  drm/i915: dev_priv cleanup in i915_gem_gtt.c
  drm/i915: dev_priv cleanup in i915_gem_stolen.c
  drm/i915: dev_priv cleanup in i915_gem_tiling.c
  drm/i915: dev_priv cleanup in i915_gpu_error.c
  drm/i915: dev_priv cleanup in i915_irq.c
  drm/i915: dev_priv cleanup in i915_suspend.c
  drm/i915: Assorted INTEL_INFO(dev) cleanups
  drm/i915: dev_priv cleanup in intel_dp.c
  drm/i915: dev_priv cleanup in intel_pm.c
  drm/i915: dev_priv cleanup in intel_display.c
  drm/i915: Fix for_each_pipe argument in vlv_display_power_well_init
  drm/i915: Remove __I915__ magic macro

 drivers/gpu/drm/i915/i915_drv.c            |   6 +-
 drivers/gpu/drm/i915/i915_drv.h            |  36 ++--
 drivers/gpu/drm/i915/i915_gem.c            |  21 +--
 drivers/gpu/drm/i915/i915_gem_execbuffer.c |   2 +-
 drivers/gpu/drm/i915/i915_gem_fence_reg.c  |  12 +-
 drivers/gpu/drm/i915/i915_gem_gtt.c        | 284 ++++++++++++++---------------
 drivers/gpu/drm/i915/i915_gem_gtt.h        |  10 +-
 drivers/gpu/drm/i915/i915_gem_stolen.c     |  14 +-
 drivers/gpu/drm/i915/i915_gem_tiling.c     |  12 +-
 drivers/gpu/drm/i915/i915_gpu_error.c      |  20 +-
 drivers/gpu/drm/i915/i915_irq.c            |  24 +--
 drivers/gpu/drm/i915/i915_suspend.c        |  24 +--
 drivers/gpu/drm/i915/intel_color.c         |   5 +-
 drivers/gpu/drm/i915/intel_crt.c           |  15 +-
 drivers/gpu/drm/i915/intel_ddi.c           |  10 +-
 drivers/gpu/drm/i915/intel_display.c       | 198 +++++++++-----------
 drivers/gpu/drm/i915/intel_dp.c            |  26 ++-
 drivers/gpu/drm/i915/intel_dpll_mgr.c      |   5 +-
 drivers/gpu/drm/i915/intel_drv.h           |   2 +-
 drivers/gpu/drm/i915/intel_lvds.c          |   7 +-
 drivers/gpu/drm/i915/intel_panel.c         |  10 +-
 drivers/gpu/drm/i915/intel_pm.c            |  67 +++----
 drivers/gpu/drm/i915/intel_psr.c           |   4 +-
 drivers/gpu/drm/i915/intel_runtime_pm.c    |   4 +-
 drivers/gpu/drm/i915/intel_sdvo.c          |  11 +-
 drivers/gpu/drm/i915/intel_tv.c            |   5 +-
 drivers/gpu/drm/i915/intel_uncore.c        |   2 +-
 27 files changed, 386 insertions(+), 450 deletions(-)

-- 
2.7.4



More information about the Intel-gfx mailing list