Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 228690
b: refs/heads/master
c: 085ce26
h: refs/heads/master
v: v3
  • Loading branch information
Chris Wilson committed Nov 3, 2010
1 parent 77d47b9 commit 7956edc
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 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: 27153f72d04bcd83b3a66e219418a21d6269553b
refs/heads/master: 085ce2643713830cf772c12c1a16da9d0ba83f36
1 change: 1 addition & 0 deletions trunk/drivers/gpu/drm/i915/i915_gem.c
Original file line number Diff line number Diff line change
Expand Up @@ -4151,6 +4151,7 @@ i915_gem_object_pin(struct drm_gem_object *obj, uint32_t alignment,
int ret;

BUG_ON(obj_priv->pin_count == DRM_I915_GEM_OBJECT_MAX_PIN_COUNT);
BUG_ON(need_fence && !mappable);
WARN_ON(i915_verify_lists(dev));

if (obj_priv->gtt_space != NULL) {
Expand Down
3 changes: 2 additions & 1 deletion trunk/drivers/gpu/drm/i915/intel_display.c
Original file line number Diff line number Diff line change
Expand Up @@ -1462,7 +1462,8 @@ intel_pin_and_fence_fb_obj(struct drm_device *dev,
}

ret = i915_gem_object_pin(obj, alignment,
!pipelined, obj_priv->tiling_mode);
!pipelined || obj_priv->tiling_mode,
obj_priv->tiling_mode);
if (ret)
return ret;

Expand Down

0 comments on commit 7956edc

Please sign in to comment.