Skip to content

Various cleanup

David Weinehall intel-gfx 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest posting 2/25 patches 3 repliesIn review
  2. v2 posting 1/25 patches 1 replySuperseded
  3. v15 patches 17 repliesSuperseded

Patches in v2 posting 2/2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5drm/i915: cosmetic fixes to i915_drv.hdrivers/gpu/drm/i915/i915_drv.h+3 -30 replies
2/5drm/i915: consistent struct device namingdrivers/gpu/drm/i915/i915_drv.c drivers/gpu/drm/i915/i915_drv.h drivers/gpu/drm/i915/i915_gem_gtt.c +3 more+128 -1260 replies
3/5drm/i915: i915_sysfs.c cleanupdrivers/gpu/drm/i915/i915_drv.c drivers/gpu/drm/i915/i915_drv.h drivers/gpu/drm/i915/i915_sysfs.c+69 -870 replies
4/5drm/i915: pdev cleanupdrivers/gpu/drm/i915/i915_debugfs.c drivers/gpu/drm/i915/i915_drv.c drivers/gpu/drm/i915/i915_gem_gtt.c +9 more+103 -730 replies
5/5drm/i915: debugfs spring cleaningdrivers/gpu/drm/i915/i915_debugfs.c drivers/gpu/drm/i915/i915_drv.c drivers/gpu/drm/i915/i915_drv.h+358 -4422 replies

Reviews trailers per patch

None of the 5 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchChris Wilson
SeriesR-b
1/5
2/5
3/5
4/5
5/5

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

Read the v2 thread

Cover letter [REBASED PATCH RESEND 0/5 v2] Various cleanup

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.

Resend: mailing list issues

David Weinehall (5):
drm/i915: cosmetic fixes to i915_drv.h
drm/i915: consistent struct device naming
drm/i915: i915_sysfs.c cleanup
drm/i915: pdev cleanup
drm/i915: debugfs spring cleaning

 drivers/gpu/drm/i915/i915_debugfs.c     | 801 ++++++++++++++------------------
 drivers/gpu/drm/i915/i915_drv.c         | 157 ++++---
 drivers/gpu/drm/i915/i915_drv.h         |  16 +-
 drivers/gpu/drm/i915/i915_gem_gtt.c     |  16 +-
 drivers/gpu/drm/i915/i915_gem_stolen.c  |  19 +-
 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, 629 insertions(+), 699 deletions(-)
Signature · 6 lines
2.9.3

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