diff options
author | Deepak Rawat <drawat@vmware.com> | 2018-05-15 16:39:09 +0300 |
---|---|---|
committer | Thomas Hellstrom <thellstrom@vmware.com> | 2018-05-16 09:01:20 +0300 |
commit | 91ba9f28a3de97761c2b5fd5df5d88421268e507 (patch) | |
tree | be68814420156ce20992db91abe966f6fabcdb98 /drivers/gpu/drm/vmwgfx/vmwgfx_simple_resource.c | |
parent | 13f149d47392782baafd96d54d4e65f3b5ca342f (diff) | |
download | linux-91ba9f28a3de97761c2b5fd5df5d88421268e507.tar.xz |
drm/vmwgfx: Set dmabuf_size when vmw_dmabuf_init is successful
SOU primary plane prepare_fb hook depends upon dmabuf_size to pin up BO
(and not call a new vmw_dmabuf_init) when a new fb size is same as
current fb. This was changed in a recent commit which is causing
page_flip to fail on VM with low display memory and multi-mon failure
when cycle monitors from secondary display.
Cc: <stable@vger.kernel.org> # 4.14, 4.16
Fixes: 20fb5a635a0c ("drm/vmwgfx: Unpin the screen object backup buffer when not used")
Signed-off-by: Deepak Rawat <drawat@vmware.com>
Reviewed-by: Sinclair Yeh <syeh@vmware.com>
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Diffstat (limited to 'drivers/gpu/drm/vmwgfx/vmwgfx_simple_resource.c')
0 files changed, 0 insertions, 0 deletions