diff options
author | 2010-11-02 13:21:47 +0000 | |
---|---|---|
committer | 2010-11-09 13:38:32 +1000 | |
commit | aa123268c2623c62e33248dafc0572f091689e86 (patch) | |
tree | 8a61fcdcc61849b5b931466bc4560b543bc75527 /tools/perf/scripts/python | |
parent | drm/radeon/kms: don't disable shared encoders on pre-DCE3 display blocks (diff) | |
download | linux-dev-aa123268c2623c62e33248dafc0572f091689e86.tar.xz linux-dev-aa123268c2623c62e33248dafc0572f091689e86.zip |
drm/ttm: Make sure a sync object doesn't disappear while we use it
The sync object may disappear as soon as we release the bo::lock, so
take a reference on it while we use it.
One option would be to call sync_object_flush() before releasing the bo::lock,
but that would put an atomic requirement on that function.
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions