]> git.baikalelectronics.ru Git - kernel.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)
commita3d692e67671ccf072139ba11ad4a3e810150d0a
tree740da06f033560aaac87d2df2b47cf1e554ed395
parentade5854dbea9b94909d9f42a7e24d560a39d26e8
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