diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2010-04-09 15:05:08 -0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2010-04-19 23:22:56 -0400 |
commit | 62b8b21515065235bd363ad07094d301532e14ce (patch) | |
tree | 39a669cf4c9a26ff1aed46b9ed306d92903abb45 /drivers/gpu/drm/i915/i915_gem.c | |
parent | c397b9084cabdcaae26266bd0bd32ba62e757046 (diff) |
drm/i915: don't use ->driver_private anymore
Thanks to the to_intel_bo helper, this change is rather trivial.
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Acked-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_gem.c')
-rw-r--r-- | drivers/gpu/drm/i915/i915_gem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/i915_gem.c b/drivers/gpu/drm/i915/i915_gem.c index 23c67e084de7..7c8c01b49d63 100644 --- a/drivers/gpu/drm/i915/i915_gem.c +++ b/drivers/gpu/drm/i915/i915_gem.c | |||
@@ -4440,7 +4440,7 @@ struct drm_gem_object * i915_gem_alloc_object(struct drm_device *dev, | |||
4440 | 4440 | ||
4441 | obj->agp_type = AGP_USER_MEMORY; | 4441 | obj->agp_type = AGP_USER_MEMORY; |
4442 | 4442 | ||
4443 | obj->base.driver_private = obj; | 4443 | obj->base.driver_private = NULL; |
4444 | obj->obj = &obj->base; | 4444 | obj->obj = &obj->base; |
4445 | obj->fence_reg = I915_FENCE_REG_NONE; | 4445 | obj->fence_reg = I915_FENCE_REG_NONE; |
4446 | INIT_LIST_HEAD(&obj->list); | 4446 | INIT_LIST_HEAD(&obj->list); |