aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
diff options
context:
space:
mode:
authorThomas Hellstrom <[email protected]>2016-01-08 19:29:40 +0000
committerDave Airlie <[email protected]>2016-01-13 21:56:46 +0000
commita50e2bf5a0f674d62b69f51f6935a30e82bd015c (patch)
tree737174e2d86df23c3efe57285e338011c9455e64 /drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
parentdrm/vmwgfx: Fix an incorrect lock check (diff)
downloadkernel-a50e2bf5a0f674d62b69f51f6935a30e82bd015c.tar.gz
kernel-a50e2bf5a0f674d62b69f51f6935a30e82bd015c.zip
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: <[email protected]> Reported-by: Raphael Hertzog <[email protected]> Tested-by: Mati Aharoni <[email protected]> Signed-off-by: Thomas Hellstrom <[email protected]> Reviewed-by: Brian Paul <[email protected]> Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c')
0 files changed, 0 insertions, 0 deletions