Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 307250
b: refs/heads/master
c: 133f4cb
h: refs/heads/master
v: v3
  • Loading branch information
Jerome Glisse authored and Dave Airlie committed May 9, 2012
1 parent fb258b6 commit 2e15da1
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 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: 4f256e8aa3eda15c11c3cec3ec5336e1fc579cbd
refs/heads/master: 133f4cb3365ef8e57c4837ffbe15de74684f6e19
12 changes: 6 additions & 6 deletions trunk/drivers/gpu/drm/radeon/radeon_cs.c
Original file line number Diff line number Diff line change
Expand Up @@ -122,15 +122,15 @@ static int radeon_cs_sync_rings(struct radeon_cs_parser *p)
int i, r;

for (i = 0; i < p->nrelocs; i++) {
struct radeon_fence *fence;

if (!p->relocs[i].robj || !p->relocs[i].robj->tbo.sync_obj)
continue;

if (!(p->relocs[i].flags & RADEON_RELOC_DONT_SYNC)) {
struct radeon_fence *fence = p->relocs[i].robj->tbo.sync_obj;
if (fence->ring != p->ring && !radeon_fence_signaled(fence)) {
sync_to_ring[fence->ring] = true;
need_sync = true;
}
fence = p->relocs[i].robj->tbo.sync_obj;
if (fence->ring != p->ring && !radeon_fence_signaled(fence)) {
sync_to_ring[fence->ring] = true;
need_sync = true;
}
}

Expand Down
1 change: 0 additions & 1 deletion trunk/include/drm/radeon_drm.h
Original file line number Diff line number Diff line change
Expand Up @@ -926,7 +926,6 @@ struct drm_radeon_cs_chunk {
};

/* drm_radeon_cs_reloc.flags */
#define RADEON_RELOC_DONT_SYNC 0x01

struct drm_radeon_cs_reloc {
uint32_t handle;
Expand Down

0 comments on commit 2e15da1

Please sign in to comment.