projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e9e2fbe
)
drm/radeon: fix VM syncing with multiple rings
author
Christian König
<deathsimple@vodafone.de>
Thu, 6 Sep 2012 11:48:07 +0000
(13:48 +0200)
committer
Alex Deucher
<alexander.deucher@amd.com>
Thu, 20 Sep 2012 17:10:41 +0000
(13:10 -0400)
When a VM is used on more than one ring we need to
sync to the last user.
Signed-off-by: Christian König <deathsimple@vodafone.de>
Reviewed-by: Jerome Glisse <jglisse@redhat.com>
drivers/gpu/drm/radeon/radeon_cs.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/radeon/radeon_cs.c
b/drivers/gpu/drm/radeon/radeon_cs.c
index e24150659bc755e9fc9f639b03460586669b8d76..d59eb59cdb813155371592ece4629efb547ac7f5 100644
(file)
--- a/
drivers/gpu/drm/radeon/radeon_cs.c
+++ b/
drivers/gpu/drm/radeon/radeon_cs.c
@@
-463,7
+463,7
@@
static int radeon_cs_ib_vm_chunk(struct radeon_device *rdev,
goto out;
}
radeon_cs_sync_rings(parser);
- radeon_cs_sync_to(parser, vm->
last_flush
);
+ radeon_cs_sync_to(parser, vm->
fence
);
radeon_cs_sync_to(parser, radeon_vm_grab_id(rdev, vm, parser->ring));
if ((rdev->family >= CHIP_TAHITI) &&