Re: [PATCH] drm/qxl: prevent memory leak

2023-11-07 Thread Zongmin Zhou
Thanks for your reply. Best regards! On 2023/11/6 17:49, Maxime Ripard wrote: Hi, On Wed, Nov 01, 2023 at 12:58:17PM +1000, Dave Airlie wrote: On Wed, 22 Mar 2023 at 19:04, Zongmin Zhou wrote: The allocated memory for qdev->dumb_heads should be released in qxl_destroy_monitors_object before

Re: [PATCH] drm/qxl: prevent memory leak

2023-11-06 Thread Maxime Ripard
Hi, On Wed, Nov 01, 2023 at 12:58:17PM +1000, Dave Airlie wrote: > On Wed, 22 Mar 2023 at 19:04, Zongmin Zhou wrote: > > > > 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

Re: [RESEND PATCH] drm/qxl: prevent memory leak

2023-11-06 Thread Maxime Ripard
On Tue, 01 Aug 2023 10:53:09 +0800, Zongmin Zhou wrote: > 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 c

Re: [PATCH] drm/qxl: prevent memory leak

2023-10-31 Thread Dave Airlie
On Wed, 22 Mar 2023 at 19:04, Zongmin Zhou wrote: > > 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 caus

Re: [RESEND PATCH] drm/qxl: prevent memory leak

2023-09-12 Thread zongmin zhou
On Tue, 2023-08-01 at 10:53 +0800, Zongmin Zhou wrote: > 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 ca

[RESEND PATCH] drm/qxl: prevent memory leak

2023-07-31 Thread Zongmin Zhou
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 --- drivers/gpu/dr

[RESEND PATCH] drm/qxl: prevent memory leak

2023-04-24 Thread Zongmin Zhou
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 --- drivers/gpu/dr

回复: [PATCH] drm/qxl: prevent memory leak

2023-03-30 Thread 周宗敏
Dear all:   Gentle ping on this patch.   Thanks   主 题:[PATCH] drm/qxl: prevent memory leak 日 期:2023-03-22 16:58 发件人:zhouzong...@kylinos.cn 收件人:airlied;Gerd Hoffmann;Dave Airlie;Daniel Vetter; The allocated memory for qdev->dumb_heads should be releasedin qxl_destroy_monitors_object bef

[PATCH] drm/qxl: prevent memory leak

2023-03-22 Thread Zongmin Zhou
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 --- drivers/gpu/dr