]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
drm/vmwgfx: Split GMR2_REMAP commands if they are to large
authorJakob Bornecrantz <jakob@vmware.com>
Thu, 29 Aug 2013 00:32:53 +0000 (02:32 +0200)
committerDave Airlie <airlied@gmail.com>
Thu, 29 Aug 2013 23:03:39 +0000 (09:03 +1000)
commit6e4dcff3adbf25acb87e74500a58e3c07bdec40f
tree740da06f033560aaac87d2df2b47cf1e554ed395
parent1dcff832c6dea64a53e1af6e7a78f652eb061f72
drm/vmwgfx: Split GMR2_REMAP commands if they are to large

This fixes the piglit test texturing/max-texture-size
causing the VM to die due to a too large SVGA command.

Signed-off-by: Jakob Bornecrantz <jakob@vmware.com>
Reviewed-by: Biran Paul <brianp@vmware.com>
Reviewed-by: Zack Rusin <zackr@vmware.com>
Cc: stable@vger.kernel.org
Signed-off-by: Dave Airlie <airlied@gmail.com>
drivers/gpu/drm/vmwgfx/vmwgfx_gmr.c