aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorJerome Glisse <jglisse@redhat.com>2010-02-15 21:36:33 +0100
committerDave Airlie <airlied@redhat.com>2010-02-16 07:59:37 +1000
commit6cb8e1f71c407930f0f07feceeea1da73881038b (patch)
treef825520be923c9a2f625d2892396b1740aec167d /arch
parente821767bebdae6a46f6d897a4385f6218bee7f27 (diff)
downloadkernel_samsung_smdk4412-6cb8e1f71c407930f0f07feceeea1da73881038b.tar.gz
kernel_samsung_smdk4412-6cb8e1f71c407930f0f07feceeea1da73881038b.tar.bz2
kernel_samsung_smdk4412-6cb8e1f71c407930f0f07feceeea1da73881038b.zip
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 'arch')
0 files changed, 0 insertions, 0 deletions