diff options
author | Thomas Hellstrom <thellstrom@vmware.com> | 2015-06-26 14:46:52 +0300 |
---|---|---|
committer | Thomas Hellstrom <thellstrom@vmware.com> | 2015-08-05 15:01:09 +0300 |
commit | 9b590783b3d6d2e06516788d1061176109677409 (patch) | |
tree | fd9757f581f2333701b1e99db3da8e78dc97ff6c /drivers/gpu/drm/vmwgfx/vmwgfx_kms.h | |
parent | 6bf6bf03b37b5ba0f3399fa9bb3d62edfa117c87 (diff) | |
download | linux-9b590783b3d6d2e06516788d1061176109677409.tar.xz |
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>
Diffstat (limited to 'drivers/gpu/drm/vmwgfx/vmwgfx_kms.h')
0 files changed, 0 insertions, 0 deletions