switch-linux/drivers/gpu/drm/vmwgfx
Thomas Hellstrom a50e2bf5a0 drm/vmwgfx: Fix a width / pitch mismatch on framebuffer updates
When the framebuffer is a vmwgfx dma buffer and a proxy surface is
created, the vmw_kms_update_proxy() function requires that the proxy
surface width and the framebuffer pitch are compatible, otherwise
display corruption occurs as seen in gnome-shell/native with software
3D. Since the framebuffer pitch is determined by user-space, allocate
a proxy surface the width of which is based on the framebuffer pitch
rather than on the framebuffer width.

Cc: <stable@vger.kernel.org>
Reported-by: Raphael Hertzog <buxy@kali.org>
Tested-by:  Mati Aharoni <muts@kali.org>
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
2016-01-14 07:56:46 +10:00
..
device_include
Kconfig
Makefile
vmwgfx_binding.c
vmwgfx_binding.h
vmwgfx_buffer.c
vmwgfx_cmdbuf.c drm/vmwgfx: Fix an incorrect lock check 2016-01-14 07:56:44 +10:00
vmwgfx_cmdbuf_res.c
vmwgfx_context.c
vmwgfx_cotable.c
vmwgfx_dmabuf.c
vmwgfx_drv.c drm/vmwgfx: Implement the cursor_set2 callback v2 2015-12-08 12:55:46 +01:00
vmwgfx_drv.h drm/vmwgfx: Implement the cursor_set2 callback v2 2015-12-08 12:55:46 +01:00
vmwgfx_execbuf.c
vmwgfx_fb.c
vmwgfx_fence.c
vmwgfx_fence.h
vmwgfx_fifo.c drm/vmwgfx: fix a warning message 2015-11-26 17:40:00 +01:00
vmwgfx_gmr.c
vmwgfx_gmrid_manager.c
vmwgfx_ioctl.c
vmwgfx_irq.c
vmwgfx_kms.c drm/vmwgfx: Fix a width / pitch mismatch on framebuffer updates 2016-01-14 07:56:46 +10:00
vmwgfx_kms.h drm/vmwgfx: Implement the cursor_set2 callback v2 2015-12-08 12:55:46 +01:00
vmwgfx_ldu.c Backmerge drm-fixes merge into Linus's tree into drm-next. 2015-12-24 08:08:47 +10:00
vmwgfx_marker.c
vmwgfx_mob.c
vmwgfx_overlay.c
vmwgfx_prime.c
vmwgfx_reg.h
vmwgfx_resource.c
vmwgfx_resource_priv.h
vmwgfx_scrn.c Backmerge drm-fixes merge into Linus's tree into drm-next. 2015-12-24 08:08:47 +10:00
vmwgfx_shader.c
vmwgfx_so.c
vmwgfx_so.h
vmwgfx_stdu.c Backmerge drm-fixes merge into Linus's tree into drm-next. 2015-12-24 08:08:47 +10:00
vmwgfx_surface.c drm/vmwgfx: check kmalloc return value 2015-12-15 13:37:57 +01:00
vmwgfx_ttm_glue.c