android_kernel_lge_bullhead/drivers/gpu/drm/vmwgfx
Dan Carpenter 7e25c935ec drm/vmwgfx: Handle vmalloc() failure in vmw_local_fifo_reserve()
commit f0c62e9878024300319ba2438adc7b06c6b9c448 upstream.

If vmalloc() fails then we need to a bit of cleanup before returning.

Cc: <stable@vger.kernel.org>
Fixes: fb1d9738ca ("drm/vmwgfx: Add DRM driver for VMware Virtual GPU")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Sinclair Yeh <syeh@vmware.com>
Signed-off-by: Willy Tarreau <w@1wt.eu>
2017-11-02 07:16:26 +01:00
..
Kconfig drm/vmwgfx: allow a kconfig option to choose if fbcon is enabled 2012-09-07 13:24:34 +10:00
Makefile drm/vmwgfx: Break out surface and context management to separate files 2012-11-21 07:47:08 +10:00
svga3d_reg.h vmwgfx: Update register files to latest from vmware-sdk 2011-10-05 10:17:08 +01:00
svga3d_surfacedefs.h drm/vmwgfx: Add and make use of a header for surface size calculation. 2012-11-21 07:47:09 +10:00
svga_escape.h vmwgfx: Update register files to latest from vmware-sdk 2011-10-05 10:17:08 +01:00
svga_overlay.h vmwgfx: Update register files to latest from vmware-sdk 2011-10-05 10:17:08 +01:00
svga_reg.h vmwgfx: Update register files to latest from vmware-sdk 2011-10-05 10:17:08 +01:00
svga_types.h
vmwgfx_buffer.c drm/vmwgfx: Tighten the security around buffer maps 2012-11-28 20:09:08 +10:00
vmwgfx_context.c drm/vmwgfx: Break out surface and context management to separate files 2012-11-21 07:47:08 +10:00
vmwgfx_dmabuf.c drm/ttm: remove no_wait_reserve, v3 2012-12-10 20:21:30 +10:00
vmwgfx_drv.c drm/vmwgfx: respect 'nomodeset' 2016-03-03 15:06:23 -08:00
vmwgfx_drv.h drm/vmwgfx: Tighten the security around buffer maps 2012-11-28 20:09:08 +10:00
vmwgfx_execbuf.c drm/vmwgfx: Make sure user-space can't DMA across buffer object boundaries v2 2014-05-30 21:52:14 -07:00
vmwgfx_fb.c drm/vmwgfx: Fix incorrect write to read-only register v2: 2014-07-09 11:14:00 -07:00
vmwgfx_fence.c drm/vmwgfx: Fix fence event code 2015-01-27 07:52:31 -08:00
vmwgfx_fence.h vmwgfx: Move function declaration to correct header 2012-02-13 12:01:36 +00:00
vmwgfx_fifo.c drm/vmwgfx: Handle vmalloc() failure in vmw_local_fifo_reserve() 2017-11-02 07:16:26 +01:00
vmwgfx_gmr.c drm/vmwgfx: Split GMR2_REMAP commands if they are to large 2013-09-07 22:09:58 -07:00
vmwgfx_gmrid_manager.c UAPI: (Scripted) Convert #include "..." to #include <path/...> in drivers/gpu/ 2012-10-02 18:01:07 +01:00
vmwgfx_ioctl.c drm/vmwgfx: Remove getparam error message 2017-06-20 14:04:42 +02:00
vmwgfx_irq.c UAPI: (Scripted) Convert #include "..." to #include <path/...> in drivers/gpu/ 2012-10-02 18:01:07 +01:00
vmwgfx_kms.c drm: only take the crtc lock for ->cursor_move 2013-01-20 22:16:57 +01:00
vmwgfx_kms.h UAPI: (Scripted) Convert #include "..." to #include <path/...> in drivers/gpu/ 2012-10-02 18:01:07 +01:00
vmwgfx_ldu.c drm/vmwgfx: drm_connector_property -> drm_object_property 2012-11-30 10:20:11 -06:00
vmwgfx_marker.c vmwgfx: Fix confusion caused by using "fence" in various places 2011-09-06 11:48:40 +01:00
vmwgfx_overlay.c drm/vmwgfx: Make overlay code not require fifo at init time 2012-11-20 16:19:50 +10:00
vmwgfx_reg.h
vmwgfx_resource.c drm/vmwgfx: Don't put resources with invalid id's on lru list 2013-11-13 12:05:34 +09:00
vmwgfx_resource_priv.h drm/vmwgfx: Break out surface and context management to separate files 2012-11-21 07:47:08 +10:00
vmwgfx_scrn.c drm/vmwgfx: drm_connector_property -> drm_object_property 2012-11-30 10:20:11 -06:00
vmwgfx_surface.c drm/vmwgfx: fix integer overflow in vmw_surface_define_ioctl() 2017-06-20 14:04:42 +02:00
vmwgfx_ttm_glue.c UAPI: (Scripted) Convert #include "..." to #include <path/...> in drivers/gpu/ 2012-10-02 18:01:07 +01:00