Searched hist:"9 b590783b3d6d2e06516788d1061176109677409" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_cmdbuf.c | diff 9b590783b3d6d2e06516788d1061176109677409 Fri Jun 26 06:46:52 CDT 2015 Thomas Hellstrom <thellstrom@vmware.com> 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>
|