commit | 9b590783b3d6d2e06516788d1061176109677409 | [log] [tgz] |
---|---|---|
author | Thomas Hellstrom <thellstrom@vmware.com> | Fri Jun 26 04:46:52 2015 -0700 |
committer | Thomas Hellstrom <thellstrom@vmware.com> | Wed Aug 05 14:01:09 2015 +0200 |
tree | fd9757f581f2333701b1e99db3da8e78dc97ff6c | |
parent | 6bf6bf03b37b5ba0f3399fa9bb3d62edfa117c87 [diff] |
drm/vmwgfx: Avoid cmdbuf alloc sleeping if !TASK_RUNNING If the command buffer pool is out of space, the code waits until space is available. However since the condition code tries to allocate a range manager node while !TASK_RUNNING we get a kernel warning. Avoid this by pre-allocating the mm node. This will also probably be more efficient. Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> Reviewed-by: Sinclair Yeh <syeh@vmware.com>