Skip to content

Commit

Permalink
Merge tag 'vmwgfx-fixes-4.3-151001' of git://people.freedesktop.org/~…
Browse files Browse the repository at this point in the history
…thomash/linux into drm-fixes

A single commit to fix a command submission hang regression.

Pull request of 2015-10-01

* tag 'vmwgfx-fixes-4.3-151001' of git://people.freedesktop.org/~thomash/linux:
  drm/vmwgfx: Fix a command submission hang regression
  • Loading branch information
Dave Airlie committed Oct 2, 2015
2 parents 8e592ea + 575f9c8 commit 62886a3
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf.c
Original file line number Diff line number Diff line change
Expand Up @@ -681,6 +681,14 @@ static bool vmw_cmdbuf_try_alloc(struct vmw_cmdbuf_man *man,
0, 0,
DRM_MM_SEARCH_DEFAULT,
DRM_MM_CREATE_DEFAULT);
if (ret) {
(void) vmw_cmdbuf_man_process(man);
ret = drm_mm_insert_node_generic(&man->mm, info->node,
info->page_size, 0, 0,
DRM_MM_SEARCH_DEFAULT,
DRM_MM_CREATE_DEFAULT);
}

spin_unlock_bh(&man->lock);
info->done = !ret;

Expand Down

0 comments on commit 62886a3

Please sign in to comment.