linux_dsm_epyc7002/drivers/gpu/drm/vmwgfx
Deepak Rawat 91ba9f28a3 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: 20fb5a635a ("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>
2018-05-16 08:01:20 +02:00
..
device_include drm/vmwgfx: Fix multiple command buffer context use 2018-03-22 12:08:23 +01:00
Kconfig
Makefile drm/vmwgfx: Add a cpu blit utility that can be used for page-backed bos 2018-03-22 12:08:23 +01:00
vmwgfx_binding.c drm/ttm: use an operation ctx for ttm_mem_global_alloc 2017-12-27 11:38:54 -05:00
vmwgfx_binding.h
vmwgfx_blit.c drm/vmwgfx: Add a cpu blit utility that can be used for page-backed bos 2018-03-22 12:08:23 +01:00
vmwgfx_buffer.c drm/vmwgfx: Avoid pinning fbdev framebuffers 2018-03-22 12:08:23 +01:00
vmwgfx_cmdbuf_res.c
vmwgfx_cmdbuf.c drm/vmwgfx: Fix multiple command buffer context use 2018-03-22 12:08:23 +01:00
vmwgfx_context.c drm/ttm: use an operation ctx for ttm_mem_global_alloc 2017-12-27 11:38:54 -05:00
vmwgfx_cotable.c drm/ttm: use an operation ctx for ttm_mem_global_alloc 2017-12-27 11:38:54 -05:00
vmwgfx_dmabuf.c drm/vmwgfx: Avoid pinning fbdev framebuffers 2018-03-22 12:08:23 +01:00
vmwgfx_drv.c Linux 4.16-rc7 2018-03-28 14:30:41 +10:00
vmwgfx_drv.h Linux 4.16-rc7 2018-03-28 14:30:41 +10:00
vmwgfx_execbuf.c Linux 4.15-rc8 2018-01-18 09:32:15 +10:00
vmwgfx_fb.c drm/vmwgfx: Clean up fbdev modeset locking 2018-04-26 09:48:55 +02:00
vmwgfx_fence.c drm/vmwgfx: use monotonic event timestamps 2018-03-22 12:08:24 +01:00
vmwgfx_fence.h
vmwgfx_fifo.c
vmwgfx_gmr.c
vmwgfx_gmrid_manager.c
vmwgfx_ioctl.c drm/vmwgfx: replace drm_*_unreference with drm_*_put 2018-03-14 14:52:05 +01:00
vmwgfx_irq.c
vmwgfx_kms.c drm/vmwgfx: Fix a buffer object leak 2018-04-26 09:59:30 +02:00
vmwgfx_kms.h Linux 4.16-rc7 2018-03-28 14:30:41 +10:00
vmwgfx_ldu.c drm/vmwgfx: fix memory corruption with legacy/sou connectors 2018-01-17 16:27:45 +01:00
vmwgfx_marker.c
vmwgfx_mob.c drm/ttm: drop persistent_swap_storage from ttm_bo_init and co 2018-02-26 23:09:45 -05:00
vmwgfx_msg.c drm/vmwgfx: Use kasprintf 2018-03-22 12:08:24 +01:00
vmwgfx_msg.h
vmwgfx_overlay.c
vmwgfx_prime.c
vmwgfx_reg.h
vmwgfx_resource_priv.h
vmwgfx_resource.c drm/vmwgfx: Avoid pinning fbdev framebuffers 2018-03-22 12:08:23 +01:00
vmwgfx_scrn.c drm/vmwgfx: Set dmabuf_size when vmw_dmabuf_init is successful 2018-05-16 08:01:20 +02:00
vmwgfx_shader.c drm/ttm: use an operation ctx for ttm_mem_global_alloc 2017-12-27 11:38:54 -05:00
vmwgfx_simple_resource.c drm/ttm: use an operation ctx for ttm_mem_global_alloc 2017-12-27 11:38:54 -05:00
vmwgfx_so.c drm/ttm: use an operation ctx for ttm_mem_global_alloc 2017-12-27 11:38:54 -05:00
vmwgfx_so.h
vmwgfx_stdu.c Linux 4.16-rc7 2018-03-28 14:30:41 +10:00
vmwgfx_surface.c drm/vmwgfx: Stricter count of legacy surface device resources 2018-03-22 12:08:24 +01:00
vmwgfx_ttm_glue.c
vmwgfx_va.c