diff options
author | 2021-03-17 17:33:02 +0800 | |
---|---|---|
committer | 2021-03-23 23:37:13 -0400 | |
commit | 79fcd446e7e182c52c2c808c76f8de3eb6714349 (patch) | |
tree | f18b4346a03c3bde612dd30a1f6cdb177712a588 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | radeon: use kvcalloc for relocs and chunks (diff) | |
download | linux-rng-79fcd446e7e182c52c2c808c76f8de3eb6714349.tar.xz linux-rng-79fcd446e7e182c52c2c808c76f8de3eb6714349.zip |
drm/amdgpu: Fix memory leak
drm_gem_object_put() should be paired with drm_gem_object_lookup().
All gem objs are saved in fb->base.obj[]. Need put the old first before
assign a new obj.
Trigger VRAM leak by running command below
$ service gdm restart
Signed-off-by: xinhui pan <xinhui.pan@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions