summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/msm/msm_ringbuffer.c
diff options
context:
space:
mode:
authorJordan Crouse <jcrouse@codeaurora.org>2018-11-02 09:25:26 -0600
committerRob Clark <robdclark@gmail.com>2018-12-11 13:05:30 -0500
commitd6852b4b2d0140b0fbfe112edf4fe66c1857b561 (patch)
treeef8569126eedff5c7335a46f53129bd7db76c2bc /drivers/gpu/drm/msm/msm_ringbuffer.c
parent1707add815519da406c2d1444a1f10ef8bb4ad5b (diff)
downloadlinux-d6852b4b2d0140b0fbfe112edf4fe66c1857b561.tar.bz2
drm/msm/a6xx: Track and manage a6xx state memory
The a6xx GPU state allocates a LOT of memory. Add a bit of infrastructure to track the memory allocations in the GPU structure and delete them when the state is destroyed much the same way that devm works with the device model as a whole. This protects against the developer accidentally forgetting to add a kfree() to an ever growing list. Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org> Signed-off-by: Rob Clark <robdclark@gmail.com>
Diffstat (limited to 'drivers/gpu/drm/msm/msm_ringbuffer.c')
0 files changed, 0 insertions, 0 deletions