Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 196467
b: refs/heads/master
c: 62b8b21
h: refs/heads/master
i:
  196465: 8d85336
  196463: 738a7aa
v: v3
  • Loading branch information
Daniel Vetter authored and Dave Airlie committed Apr 20, 2010
1 parent 35a447b commit 5ba12bf
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c397b9084cabdcaae26266bd0bd32ba62e757046
refs/heads/master: 62b8b21515065235bd363ad07094d301532e14ce
2 changes: 1 addition & 1 deletion trunk/drivers/gpu/drm/i915/i915_drv.h
Original file line number Diff line number Diff line change
Expand Up @@ -747,7 +747,7 @@ struct drm_i915_gem_object {
atomic_t pending_flip;
};

#define to_intel_bo(x) ((struct drm_i915_gem_object *) (x)->driver_private)
#define to_intel_bo(x) container_of(x, struct drm_i915_gem_object, base)

/**
* Request queue structure.
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/gpu/drm/i915/i915_gem.c
Original file line number Diff line number Diff line change
Expand Up @@ -4440,7 +4440,7 @@ struct drm_gem_object * i915_gem_alloc_object(struct drm_device *dev,

obj->agp_type = AGP_USER_MEMORY;

obj->base.driver_private = obj;
obj->base.driver_private = NULL;
obj->obj = &obj->base;
obj->fence_reg = I915_FENCE_REG_NONE;
INIT_LIST_HEAD(&obj->list);
Expand Down

0 comments on commit 5ba12bf

Please sign in to comment.