Merge branch 'vmwgfx-fixes-4.17' of git://people.freedesktop.org/~thomash/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
This commit is contained in:
Dave Airlie 2018-05-17 12:00:53 +10:00
commit bc91d1810f
1 changed files with 2 additions and 0 deletions

View File

@ -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.