Skip to content

Commit

Permalink
Merge branch 'vmwgfx-fixes-4.17' of git://people.freedesktop.org/~tho…
Browse files Browse the repository at this point in the history
…mash/linux into drm-fixes

A single fix for a recent regression.

* 'vmwgfx-fixes-4.17' of git://people.freedesktop.org/~thomash/linux:
  drm/vmwgfx: Set dmabuf_size when vmw_dmabuf_init is successful
  • Loading branch information
Dave Airlie committed May 17, 2018
2 parents 3d3aa96 + 91ba9f2 commit bc91d18
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c
Original file line number Diff line number Diff line change
Expand Up @@ -482,6 +482,8 @@ vmw_sou_primary_plane_prepare_fb(struct drm_plane *plane,
return ret;
}

vps->dmabuf_size = size;

/*
* TTM already thinks the buffer is pinned, but make sure the
* pin_count is upped.
Expand Down

0 comments on commit bc91d18

Please sign in to comment.