diff options
| author | Zongmin Zhou <[email protected]> | 2023-08-01 02:53:09 +0000 |
|---|---|---|
| committer | Maxime Ripard <[email protected]> | 2023-11-06 08:37:03 +0000 |
| commit | 0e8b9f258baed25f1c5672613699247c76b007b5 (patch) | |
| tree | 11228e4f3631d25b9e5277eb26fbf05df2a4f842 /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h | |
| parent | drm/syncobj: fix DRM_SYNCOBJ_WAIT_FLAGS_WAIT_AVAILABLE (diff) | |
| download | kernel-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.h')
0 files changed, 0 insertions, 0 deletions
