commit | 3ba6462355c1c69dde58739a871d13bbb993e2e3 | [log] [tgz] |
---|---|---|
author | Francisco Jerez <currojerez@riseup.net> | Sat Aug 28 17:56:33 2010 +0200 |
committer | Ben Skeggs <bskeggs@redhat.com> | Fri Sep 03 08:23:30 2010 +1000 |
tree | 040d1f821170f170e9b6af4d91d86e5fbfca13d1 | |
parent | ab699ec64a4294f2f6ccd34b9bf8a2dcb4c4cb3c [diff] |
drm/nouveau: Take fence spinlock before reading the last sequence. It fixes a race between the TTM delayed work queue and the GEM IOCTLs (fdo bug 29583) uncovered by the BKL removal. Signed-off-by: Francisco Jerez <currojerez@riseup.net> Signed-off-by: Ben Skeggs <bskeggs@redhat.com>