public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
* [REBASED PATCH RESEND 0/5 v2] Various cleanup
@ 2016-08-22 10:32 David Weinehall
  2016-08-22 10:32 ` [REBASED PATCH RESEND 1/5 v2] drm/i915: cosmetic fixes to i915_drv.h David Weinehall
                   ` (6 more replies)
  0 siblings, 7 replies; 10+ messages in thread
From: David Weinehall @ 2016-08-22 10:32 UTC (permalink / raw)
  To: intel-gfx

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(-)

-- 
2.9.3

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2016-08-22 11:04 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-22 10:32 [REBASED PATCH RESEND 0/5 v2] Various cleanup David Weinehall
2016-08-22 10:32 ` [REBASED PATCH RESEND 1/5 v2] drm/i915: cosmetic fixes to i915_drv.h David Weinehall
2016-08-22 10:32 ` [REBASED PATCH RESEND 2/5 v2] drm/i915: consistent struct device naming David Weinehall
2016-08-22 10:32 ` [REBASED PATCH RESEND 3/5 v2] drm/i915: i915_sysfs.c cleanup David Weinehall
2016-08-22 10:32 ` [REBASED PATCH RESEND 4/5 v2] drm/i915: pdev cleanup David Weinehall
2016-08-22 10:32 ` [REBASED PATCH RESEND 5/5 v2] drm/i915: debugfs spring cleaning David Weinehall
2016-08-22 10:59   ` [REBASED PATCH RESEND 5/5 v3] " David Weinehall
2016-08-22 11:04     ` Chris Wilson
2016-08-22 10:38 ` [REBASED PATCH RESEND 0/5 v2] Various cleanup Chris Wilson
2016-08-22 10:53 ` ✗ Ro.CI.BAT: failure for " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox