[Intel-gfx] [PATCH 0/5] Various cleanup

David Weinehall david.weinehall at linux.intel.com
Mon Aug 8 13:19:56 UTC 2016


This patch series aims to do some cleanup of our driver.
Patch 1, 2, and 4 should be fairly non-controversial.
Patch 3 and 5 does major cleanups of i915_sysfs and i915_debugfs,
respectively. Due to the nature of these patches they are rather
big, but that's mainly because they change the parameter passed
to macros that are used a lot.

While the secondary benefits of this patch series (the primary
of course being slightly cleaner code) might be a bit opaque,
a move to always passing dev_priv to our feature macros
(and thus allowing us to make those macros non-polymorphic)
will save more than 30kB.

That's still a bit down the road though, but I've got a full
patch series to accomplish this in a fairly straightforward
manner.

This submission supersedes the previous one (from the 1st of August);
it drops one patch, and adds two others.

David Weinehall (5):
  drm/i915: Cosmetic fixes in i915_drv.h
  drm/i915: Consistent struct device * naming
  drm/i915: sysfs spring cleaning
  drm/i915: pdev cleanup
  drm/i915: debugfs spring cleaning

 drivers/gpu/drm/i915/i915_debugfs.c     | 704 ++++++++++++++------------------
 drivers/gpu/drm/i915/i915_drv.c         | 157 +++----
 drivers/gpu/drm/i915/i915_drv.h         |  22 +-
 drivers/gpu/drm/i915/i915_gem_gtt.c     |  10 +-
 drivers/gpu/drm/i915/i915_gem_stolen.c  |  17 +-
 drivers/gpu/drm/i915/i915_gpu_error.c   |   9 +-
 drivers/gpu/drm/i915/i915_suspend.c     |   6 +-
 drivers/gpu/drm/i915/i915_sysfs.c       | 163 ++++----
 drivers/gpu/drm/i915/intel_audio.c      |  46 +--
 drivers/gpu/drm/i915/intel_display.c    |  25 +-
 drivers/gpu/drm/i915/intel_fbdev.c      |   3 +-
 drivers/gpu/drm/i915/intel_guc_loader.c |   3 +-
 drivers/gpu/drm/i915/intel_i2c.c        |   3 +-
 drivers/gpu/drm/i915/intel_runtime_pm.c |  57 +--
 drivers/gpu/drm/i915/intel_sdvo.c       |   4 +-
 15 files changed, 588 insertions(+), 641 deletions(-)

-- 
2.8.1



More information about the Intel-gfx mailing list