linux_dsm_epyc7002/drivers/gpu/drm/msm
Sean Paul 82e223a5d8 drm/msm: dpu: Fix memory leak caused by dropped reference
We are currently leaking a drm_crtc_commit struct for every atomic
commit containing plane state. The dpu plane destroy function cleans up
the fb reference manually, but fails to release the commit ref. As a
result, we just keep allocating drm_crtc_commits without ever freeing
them. Fortunately there's a helper function which will clean up all of
our mess at once, so use that.

Thanks to Doug Anderson for reporting the memory leak (and leaving
breadcrumbs from kmemleak!).

Reported-by: Doug Anderson <dianders@chromium.org>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
2018-10-07 14:40:28 -04:00
..
adreno drm/msm: a5xx: Fix improper u64 division 2018-10-07 14:40:28 -04:00
disp drm/msm: dpu: Fix memory leak caused by dropped reference 2018-10-07 14:40:28 -04:00
dsi drm/msm: Don't fail bind if nothing connected to dsi 2018-10-03 20:24:50 -04:00
edp drm/msm: update generated headers 2018-08-10 18:49:18 -04:00
hdmi drm/msm: update generated headers 2018-08-10 18:49:18 -04:00
Kconfig drm/msm/gpu: Capture the GPU state on a GPU hang 2018-07-30 08:49:56 -04:00
Makefile drm/msm/dpu: remove cdm block support from resource manager 2018-10-03 20:24:52 -04:00
msm_atomic.c drm: extract drm_atomic_uapi.c 2018-09-09 14:19:18 +02:00
msm_debugfs.c drm/msm/gpu: Capture the GPU state on a GPU hang 2018-07-30 08:49:56 -04:00
msm_debugfs.h drm/msm: Remove msm_debugfs_cleanup() 2017-03-08 11:24:45 +01:00
msm_drv.c drm/msm: Replace drm_dev_unref with drm_dev_put 2018-10-03 20:24:55 -04:00
msm_drv.h drm/msm: dpu: Allow planes to extend past active display 2018-10-03 20:24:50 -04:00
msm_fb.c drm/msm: Add modifier to mdp_get_format arguments 2018-06-03 16:48:59 -04:00
msm_fbdev.c drm/msm: don't deref error pointer in the msm_fbdev_create error path 2018-06-03 16:49:00 -04:00
msm_fence.c drm/msm: Remove unecessary dma_fence_ops 2018-08-17 11:22:25 +02:00
msm_fence.h drm/msm: strip out msm_fence_cb 2018-03-19 06:33:35 -04:00
msm_gem_prime.c drm/msm: Expose our reservation object when exporting a dmabuf. 2017-05-27 13:48:26 -04:00
msm_gem_shrinker.c drm/msm: Separate locking of buffer resources from struct_mutex 2017-06-17 08:03:07 -04:00
msm_gem_submit.c drm/msm: Replace drm_gem_object_{un/reference} with put, get functions 2018-10-03 20:24:55 -04:00
msm_gem_vma.c drm/msm: Pass the correct aperture end to drm_mm_init 2018-02-20 10:41:22 -05:00
msm_gem.c gpu: drm: msm: Change return type to vm_fault_t 2018-08-03 09:53:36 -04:00
msm_gem.h drm/msm: add sudo flag to submit ioctl 2018-02-20 10:41:20 -05:00
msm_gpu.c drm/msm: re-factor devfreq code 2018-10-04 09:14:20 -04:00
msm_gpu.h drm/msm: re-factor devfreq code 2018-10-04 09:14:20 -04:00
msm_iommu.c drm/msm: pm runtime support for iommu 2017-04-08 06:59:31 -04:00
msm_kms.h drm/msm: Add SDM845 DPU support 2018-07-26 10:45:04 -04:00
msm_mmu.h drm/msm: let gpu wire up it's own fault handler 2017-02-06 11:28:42 -05:00
msm_perf.c drm/msm: Remove msm_debugfs_cleanup() 2017-03-08 11:24:45 +01:00
msm_rd.c drm/msm/rd: fix crash with long process cmdlines 2018-10-03 20:24:54 -04:00
msm_ringbuffer.c drm/msm: Replace gem_object deprecated functions 2018-02-20 10:41:21 -05:00
msm_ringbuffer.h drm/msm: Implement preemption for A5XX targets 2017-10-28 11:01:38 -04:00
msm_submitqueue.c drm/msm: Support multiple ringbuffers 2017-10-28 11:01:36 -04:00
NOTES drm/msm: add mdp5/apq8x74 2014-01-09 14:44:06 -05:00