[Intel-gfx] [PATCH 0/9] i915 fixes for sparse warnings.

Ben Widawsky ben at bwidawsk.net
Mon Apr 16 23:07:39 CEST 2012


Patch 1/2 is a mix of fairly trivial stuff. I see no reason to not take
these.
Patch 3-9 Are all __iomem related. These should run through some
regression testing.

Most of the __iomem stuff fell into place fairly easily, but it's
definitely subject to a lot of copy/paste errors, since trying to
automate the replacement didn't workout well. Throughout the patches, I
tried really hard to not force cast things, but a couple of situations
cropped up which gave me no choice. What I hope to achieve by that is
there should be no functional or performance changes (aside from
copy/paste).

I've given up on fixing intel_bios.c completely.

These are based off of dinq as of yesterday.


Ben Widawsky (9):
  drm/i915: [sparse] trivial sparse fixes
  drm/i915: [sparse] don't use variable size arrays
  drm/i915: [sparse] __iomem fixes for opregion
  drm/i915: [sparse] __iomem fixes for overlay
  drm/i915: [sparse] __iomem fixes for debugfs
  drm/i915: [sparse] __iomem fixes for ringbuffer
  drm/i915: [sparse] forced __iomem ringbuffer fixes
  drm/i915: [sparse] __iomem fixes for gem
  drm/i915: [sparse] __iomem fixes for intel_bios

 drivers/gpu/drm/i915/i915_debugfs.c      |   28 ++++---
 drivers/gpu/drm/i915/i915_drv.h          |   12 +--
 drivers/gpu/drm/i915/i915_gem.c          |   11 +--
 drivers/gpu/drm/i915/i915_ioc32.c        |    5 +-
 drivers/gpu/drm/i915/i915_trace_points.c |    2 +
 drivers/gpu/drm/i915/intel_acpi.c        |    1 +
 drivers/gpu/drm/i915/intel_bios.c        |   20 +++--
 drivers/gpu/drm/i915/intel_display.c     |    2 +-
 drivers/gpu/drm/i915/intel_fb.c          |    2 +-
 drivers/gpu/drm/i915/intel_opregion.c    |   67 ++++++++-------
 drivers/gpu/drm/i915/intel_overlay.c     |  130 +++++++++++++++++-------------
 drivers/gpu/drm/i915/intel_ringbuffer.c  |   28 ++++---
 drivers/gpu/drm/i915/intel_sdvo.c        |   26 ++++--
 13 files changed, 197 insertions(+), 137 deletions(-)

-- 
1.7.10




More information about the Intel-gfx mailing list