diff options
author | Luca Barbieri <[email protected]> | 2010-01-30 23:21:38 +0100 |
---|---|---|
committer | Ben Skeggs <[email protected]> | 2010-02-09 12:49:09 +1000 |
commit | f0fbe3eb5f65fe5948219f4ceac68f8a665b1fc6 (patch) | |
tree | 1713ba58c5b60a82c88e70eda64fef052fd85ead /net/lapb/lapb_in.c | |
parent | 139295b671ff4ccd904f2fa58e9dbc0fe99cc7fe (diff) |
drm/nouveau: call ttm_bo_wait with the bo lock held to prevent hang
nouveau_gem_ioctl_cpu_prep calls ttm_bo_wait without the bo lock held.
ttm_bo_wait unlocks that lock, and so must be called with it held.
Currently this bug causes libdrm nouveau_bo_busy() to hang the machine.
Signed-off-by: Luca Barbieri <luca at luca-barbieri.com>
Acked-by: Maarten Maathuis <[email protected]>
Signed-off-by: Francisco Jerez <[email protected]>
Signed-off-by: Ben Skeggs <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions