[Intel-gfx] [PATCH 0/2] introduce derefenrencing helpers

Daniel Vetter daniel.vetter at ffwll.ch
Mon Mar 8 13:35:01 CET 2010


Hi Eric,

These two patches introduce access helpers for the bo and device private
structures. I've done the helper for the gem objects because I want to
fiddle around in that area (e.g. make drm_gem_object subclass-able). This
is way easier when the access is nicely hidden.

While doing such utter boring stuff, I've also put the device private
structure to the same treatment. Might be useful in the future.

I hope right after the merge window is the best time to push such stuff,
when everyone has flushed their patch-queues.

Now functional changes in here whatsoever.

Please review and merge for .34. The patches apply against latest
drm-intel-next.

Thanks, Daniel

Daniel Vetter (2):
  drm/i915: introduce to_intel_bo helper
  drm/i915: introduce to_intel_dev helper

 drivers/gpu/drm/i915/i915_debugfs.c    |   42 +++---
 drivers/gpu/drm/i915/i915_dma.c        |   62 +++++-----
 drivers/gpu/drm/i915/i915_drv.c        |    8 +-
 drivers/gpu/drm/i915/i915_drv.h        |    6 +-
 drivers/gpu/drm/i915/i915_gem.c        |  226 ++++++++++++++++----------------
 drivers/gpu/drm/i915/i915_gem_debug.c  |    8 +-
 drivers/gpu/drm/i915/i915_gem_tiling.c |   20 ++--
 drivers/gpu/drm/i915/i915_irq.c        |   64 +++++-----
 drivers/gpu/drm/i915/i915_mem.c        |   10 +-
 drivers/gpu/drm/i915/i915_opregion.c   |   18 ++--
 drivers/gpu/drm/i915/i915_suspend.c    |   30 ++--
 drivers/gpu/drm/i915/intel_bios.c      |    2 +-
 drivers/gpu/drm/i915/intel_crt.c       |   12 +-
 drivers/gpu/drm/i915/intel_display.c   |  138 ++++++++++----------
 drivers/gpu/drm/i915/intel_dp.c        |   28 ++--
 drivers/gpu/drm/i915/intel_dvo.c       |   12 +-
 drivers/gpu/drm/i915/intel_fb.c        |    2 +-
 drivers/gpu/drm/i915/intel_hdmi.c      |   10 +-
 drivers/gpu/drm/i915/intel_i2c.c       |   12 +-
 drivers/gpu/drm/i915/intel_lvds.c      |   30 ++--
 drivers/gpu/drm/i915/intel_overlay.c   |   30 ++--
 drivers/gpu/drm/i915/intel_sdvo.c      |   14 +-
 drivers/gpu/drm/i915/intel_tv.c        |   14 +-
 23 files changed, 401 insertions(+), 397 deletions(-)




More information about the Intel-gfx mailing list