aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
diff options
context:
space:
mode:
authorZongmin Zhou <[email protected]>2023-08-01 02:53:09 +0000
committerMaxime Ripard <[email protected]>2023-11-06 08:37:03 +0000
commit0e8b9f258baed25f1c5672613699247c76b007b5 (patch)
tree11228e4f3631d25b9e5277eb26fbf05df2a4f842 /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
parentdrm/syncobj: fix DRM_SYNCOBJ_WAIT_FLAGS_WAIT_AVAILABLE (diff)
downloadkernel-0e8b9f258baed25f1c5672613699247c76b007b5.tar.gz
kernel-0e8b9f258baed25f1c5672613699247c76b007b5.zip
drm/qxl: prevent memory leak
The allocated memory for qdev->dumb_heads should be released in qxl_destroy_monitors_object before qxl suspend. otherwise,qxl_create_monitors_object will be called to reallocate memory for qdev->dumb_heads after qxl resume, it will cause memory leak. Signed-off-by: Zongmin Zhou <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Dave Airlie <[email protected]> Signed-off-by: Maxime Ripard <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c')
0 files changed, 0 insertions, 0 deletions