linux/drivers/gpu/drm/vmwgfx
Deepak Rawat 82fcee526b drm/vmwgfx: Free hash table allocated by cmdbuf managed res mgr
The hash table created during vmw_cmdbuf_res_man_create was
never freed. This causes memory leak in context creation.
Added the corresponding drm_ht_remove in vmw_cmdbuf_res_man_destroy.

Tested for memory leak by running piglit overnight and kernel
memory is not inflated which earlier was.

Cc: <stable@vger.kernel.org>
Signed-off-by: Deepak Rawat <drawat@vmware.com>
Reviewed-by: Sinclair Yeh <syeh@vmware.com>
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
2017-06-26 14:39:08 +02:00
..
device_include drm/vmwgfx: Clear an uninitialized struct member 2017-01-26 20:52:36 -08:00
Kconfig drm: fix compilations issues introduced by "drm: allow to use mmuless SoC" 2017-01-09 11:30:30 +01:00
Makefile drm/vmwgfx: Re-implement the stream resource as a simple resource. 2017-03-31 15:21:17 -07:00
vmwgfx_binding.c
vmwgfx_binding.h
vmwgfx_buffer.c drm/ttm: add io_mem_pfn callback 2017-04-04 23:33:42 -04:00
vmwgfx_cmdbuf.c drm: Improve drm_mm search (and fix topdown allocation) with rbtrees 2017-02-03 11:10:32 +01:00
vmwgfx_cmdbuf_res.c drm/vmwgfx: Free hash table allocated by cmdbuf managed res mgr 2017-06-26 14:39:08 +02:00
vmwgfx_context.c
vmwgfx_cotable.c
vmwgfx_dmabuf.c
vmwgfx_drv.c drm/vmwgfx: Convert macro to octal representation 2017-04-21 09:25:47 -07:00
vmwgfx_drv.h drm/vmwgfx: Bump driver minor and date 2017-06-07 14:46:15 +02:00
vmwgfx_execbuf.c
vmwgfx_fb.c drm/vmwgfx: Fix fbdev emulation using legacy functions 2017-04-07 13:28:32 -04:00
vmwgfx_fence.c drm/ttm, drm/vmwgfx: Relax permission checking when opening surfaces 2017-03-30 11:43:39 +02:00
vmwgfx_fence.h
vmwgfx_fifo.c drm/vmwgfx: Handle vmalloc() failure in vmw_local_fifo_reserve() 2017-06-07 12:07:35 +02:00
vmwgfx_gmr.c
vmwgfx_gmrid_manager.c gpu: drm: drivers: Convert printk(KERN_<LEVEL> to pr_<level> 2017-03-01 09:44:11 +01:00
vmwgfx_ioctl.c drm/vmwgfx: Remove getparam error message 2017-03-30 11:43:40 +02:00
vmwgfx_irq.c
vmwgfx_kms.c drm/vmwgfx: Remove unused legacy cursor functions 2017-06-07 14:42:14 +02:00
vmwgfx_kms.h drm/vmwgfx: Remove unused legacy cursor functions 2017-06-07 14:42:14 +02:00
vmwgfx_ldu.c drm/vmwgfx: Fix LDU X blank screen until mode change issue 2017-03-31 15:21:15 -07:00
vmwgfx_marker.c
vmwgfx_mob.c drm/vmwgfx: Use kmemdup instead of kmalloc and memcpy 2017-01-26 21:26:17 -08:00
vmwgfx_msg.c
vmwgfx_msg.h
vmwgfx_overlay.c
vmwgfx_prime.c dma-buf: Rename dma-ops to prevent conflict with kunmap_atomic macro 2017-04-20 13:47:46 +05:30
vmwgfx_reg.h
vmwgfx_resource.c Linux 4.11-rc6 2017-04-11 07:40:42 +10:00
vmwgfx_resource_priv.h drm/vmwgfx: Introduce a simple resource type 2017-03-31 15:21:17 -07:00
vmwgfx_scrn.c Merge tag 'drm-misc-next-2017-03-31' of git://anongit.freedesktop.org/git/drm-misc into drm-next 2017-04-03 16:30:24 +10:00
vmwgfx_shader.c
vmwgfx_simple_resource.c drm/vmwgfx: Introduce a simple resource type 2017-03-31 15:21:17 -07:00
vmwgfx_so.c
vmwgfx_so.h
vmwgfx_stdu.c drm/vmwgfx: Fix large topology crash 2017-06-07 14:36:02 +02:00
vmwgfx_surface.c drm/vmwgfx: fix spelling mistake "exeeds" -> "exceeds" 2017-06-07 14:38:59 +02:00
vmwgfx_ttm_glue.c
vmwgfx_va.c drm/vmwgfx: Re-implement the stream resource as a simple resource. 2017-03-31 15:21:17 -07:00