diff options
author | Jerome Glisse <jglisse@redhat.com> | 2010-02-15 21:36:33 +0100 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2010-02-18 15:07:04 +1000 |
commit | 94429bb6c8343722544e282d89dc4638672e49b4 (patch) | |
tree | 6c401e2c50724236da26468963fd99eda1cf3917 /kernel/backtracetest.c | |
parent | 91cb91becf372b5308cdd7d2e15b2e3ef66bae7e (diff) |
drm/radeon/kms: fix bo's fence association
Previous code did associate fence to bo before the fence was emited
and it also didn't lock protected access to ttm sync_obj member.
Both of this flaw leads to possible race between different code
path. This patch fix this by associating fence only once the fence
is emitted and properly lock protect access to sync_obj member of
ttm.
Fix:
https://bugs.freedesktop.org/show_bug.cgi?id=26438
and likely similar others bugs
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'kernel/backtracetest.c')
0 files changed, 0 insertions, 0 deletions