summaryrefslogtreecommitdiff
path: root/radeon/radeon_cs_gem.c
diff options
context:
space:
mode:
authorJerome Glisse <jglisse@redhat.com>2010-03-29 16:39:08 +0200
committerJerome Glisse <jglisse@redhat.com>2010-03-29 16:39:08 +0200
commitcc20ed8100834b7a5129ed403dee6c0e15d82cd1 (patch)
treee864e137236d813074f03c113b057a3e64381e34 /radeon/radeon_cs_gem.c
parente6b3f906cef26e1efb8625f5dd4e460b4c79a771 (diff)
drm/radeon: tab/whitespace cleanup
Diffstat (limited to 'radeon/radeon_cs_gem.c')
-rw-r--r--radeon/radeon_cs_gem.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/radeon/radeon_cs_gem.c b/radeon/radeon_cs_gem.c
index 28ef5f64..7f4d3bea 100644
--- a/radeon/radeon_cs_gem.c
+++ b/radeon/radeon_cs_gem.c
@@ -192,8 +192,8 @@ static int cs_gem_write_reloc(struct radeon_cs_int *cs,
if this bo is for sure not in this cs.*/
if ((atomic_read((atomic_t *)radeon_gem_get_reloc_in_cs(bo)) & cs->id)) {
/* check if bo is already referenced.
- * Scanning from end to begin reduces cycles with mesa because
- * it often relocates same shared dma bo again. */
+ * Scanning from end to begin reduces cycles with mesa because
+ * it often relocates same shared dma bo again. */
for(i = cs->crelocs; i != 0;) {
--i;
idx = i * RELOC_SIZE;
@@ -317,9 +317,9 @@ static int cs_gem_end(struct radeon_cs_int *cs,
fprintf(stderr, "CS section end at (%s,%s,%d)\n",
file, func, line);
- /* We must reset the section even when there is error. */
- cs->section_ndw = 0;
- return -EPIPE;
+ /* We must reset the section even when there is error. */
+ cs->section_ndw = 0;
+ return -EPIPE;
}
cs->section_ndw = 0;
return 0;