Browse Source

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
Dave Airlie 7 years ago
parent
commit
bc91d1810f
1 changed files with 2 additions and 0 deletions
  1. 2 0
      drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c

+ 2 - 0
drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c

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