Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 228689
b: refs/heads/master
c: 27153f7
h: refs/heads/master
i:
  228687: 7eec323
v: v3
  • Loading branch information
Chris Wilson committed Nov 2, 2010
1 parent a5d82ae commit 77d47b9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: 8c1812ad4879676bec1bd20f8ff478c8a076f3fc
refs/heads/master: 27153f72d04bcd83b3a66e219418a21d6269553b
6 changes: 3 additions & 3 deletions trunk/drivers/gpu/drm/i915/intel_ringbuffer.c
Original file line number Diff line number Diff line change
Expand Up @@ -899,7 +899,7 @@ static int blt_ring_init(struct intel_ring_buffer *ring)
{
if (NEED_BLT_WORKAROUND(ring->dev)) {
struct drm_i915_gem_object *obj;
u32 __iomem *ptr;
u32 *ptr;
int ret;

obj = to_intel_bo(i915_gem_alloc_object(ring->dev, 4096));
Expand All @@ -913,8 +913,8 @@ static int blt_ring_init(struct intel_ring_buffer *ring)
}

ptr = kmap(obj->pages[0]);
iowrite32(MI_BATCH_BUFFER_END, ptr);
iowrite32(MI_NOOP, ptr+1);
*ptr++ = MI_BATCH_BUFFER_END;
*ptr++ = MI_NOOP;
kunmap(obj->pages[0]);

ret = i915_gem_object_set_to_gtt_domain(&obj->base, false);
Expand Down

0 comments on commit 77d47b9

Please sign in to comment.