drm/i915: introduce to_intel_bo helper
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 8 Mar 2010 12:35:02 +0000 (13:35 +0100)
committerEric Anholt <eric@anholt.net>
Thu, 25 Mar 2010 18:06:17 +0000 (11:06 -0700)
commit23010e43b353c2cdc9725cbedc7e364708039bf7
treec0615881eabefb7b26a7f7dba23a5e00ea5a2398
parent8d06a1e1e9c69244f08beb7d17146483f9dcd120
drm/i915: introduce to_intel_bo helper

This is a purely cosmetic change to make changes in this area easier.
And hey, it's not only clearer and typechecked, but actually shorter,
too!

[anholt: To clarify, this is a change to let us later make
drm_i915_gem_object subclass drm_gem_object, instead of having
drm_gem_object have a pointer to i915's private data]

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Acked-by: Dave Airlie <airlied@gmail.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/i915/i915_debugfs.c
drivers/gpu/drm/i915/i915_drv.c
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_gem.c
drivers/gpu/drm/i915/i915_gem_debug.c
drivers/gpu/drm/i915/i915_gem_tiling.c
drivers/gpu/drm/i915/i915_irq.c
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_fb.c
drivers/gpu/drm/i915/intel_overlay.c