Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 307141
b: refs/heads/master
c: dfc9ef2
h: refs/heads/master
i:
  307139: 2d02197
v: v3
  • Loading branch information
Daniel Vetter committed Apr 13, 2012
1 parent ec7bd06 commit c00584f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 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: 6a848ccb800f5330ca368cd804795b7ce644e36c
refs/heads/master: dfc9ef2fb0ba01ad8256f4dfa9a8e8fcc6288fc4
5 changes: 1 addition & 4 deletions trunk/drivers/gpu/drm/i915/intel_ringbuffer.c
Original file line number Diff line number Diff line change
Expand Up @@ -995,6 +995,7 @@ int intel_init_ring_buffer(struct drm_device *dev,
INIT_LIST_HEAD(&ring->active_list);
INIT_LIST_HEAD(&ring->request_list);
INIT_LIST_HEAD(&ring->gpu_write_list);
ring->size = 32 * PAGE_SIZE;

init_waitqueue_head(&ring->irq_queue);
spin_lock_init(&ring->irq_lock);
Expand Down Expand Up @@ -1268,7 +1269,6 @@ static const struct intel_ring_buffer render_ring = {
.name = "render ring",
.id = RCS,
.mmio_base = RENDER_RING_BASE,
.size = 32 * PAGE_SIZE,
.init = init_render_ring,
.write_tail = ring_write_tail,
.flush = render_ring_flush,
Expand All @@ -1291,7 +1291,6 @@ static const struct intel_ring_buffer bsd_ring = {
.name = "bsd ring",
.id = VCS,
.mmio_base = BSD_RING_BASE,
.size = 32 * PAGE_SIZE,
.init = init_ring_common,
.write_tail = ring_write_tail,
.flush = bsd_ring_flush,
Expand Down Expand Up @@ -1369,7 +1368,6 @@ static const struct intel_ring_buffer gen6_bsd_ring = {
.name = "gen6 bsd ring",
.id = VCS,
.mmio_base = GEN6_BSD_RING_BASE,
.size = 32 * PAGE_SIZE,
.init = init_ring_common,
.write_tail = gen6_bsd_ring_write_tail,
.flush = gen6_ring_flush,
Expand Down Expand Up @@ -1413,7 +1411,6 @@ static const struct intel_ring_buffer gen6_blt_ring = {
.name = "blt ring",
.id = BCS,
.mmio_base = BLT_RING_BASE,
.size = 32 * PAGE_SIZE,
.init = init_ring_common,
.write_tail = ring_write_tail,
.flush = blt_ring_flush,
Expand Down

0 comments on commit c00584f

Please sign in to comment.