Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 68791
b: refs/heads/master
c: eed0f72
h: refs/heads/master
i:
  68789: 16e37fd
  68787: 7758eb0
  68783: abbe729
v: v3
  • Loading branch information
chaohong guo authored and Dave Airlie committed Oct 15, 2007
1 parent 3250c70 commit 02c1549
Show file tree
Hide file tree
Showing 2 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: 54583bf4efda79388fc13163e35c016c8bc5de81
refs/heads/master: eed0f722b3fccb1eb2706b5f484cb511d46f70b8
4 changes: 3 additions & 1 deletion trunk/drivers/char/drm/radeon_state.c
Original file line number Diff line number Diff line change
Expand Up @@ -1861,6 +1861,7 @@ static int radeon_cp_dispatch_texture(struct drm_device * dev,
OUT_RING((image->width << 16) | height);
RADEON_WAIT_UNTIL_2D_IDLE();
ADVANCE_RING();
COMMIT_RING();

radeon_cp_discard_buffer(dev, buf);

Expand All @@ -1878,6 +1879,8 @@ static int radeon_cp_dispatch_texture(struct drm_device * dev,
RADEON_FLUSH_CACHE();
RADEON_WAIT_UNTIL_2D_IDLE();
ADVANCE_RING();
COMMIT_RING();

return 0;
}

Expand Down Expand Up @@ -2378,7 +2381,6 @@ static int radeon_cp_texture(struct drm_device *dev, void *data, struct drm_file

ret = radeon_cp_dispatch_texture(dev, file_priv, tex, &image);

COMMIT_RING();
return ret;
}

Expand Down

0 comments on commit 02c1549

Please sign in to comment.