Patch "drm/fb-helper: only unmap if buffer not null" has been added to the 5.11-stable tree

2021-03-12 Thread gregkh
This is a note to let you know that I've just added the patch titled drm/fb-helper: only unmap if buffer not null to the 5.11-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: drm-fb-he

Re: [PATCH] drm/fb-helper: only unmap if buffer not null

2021-03-02 Thread Thomas Zimmermann
Hi Am 02.03.21 um 04:29 schrieb Tong Zhang: Hi Tomas, I think the issue could be possibly caused by the following, Please correct me if I'm wrong. drm_fb_helper_single_fb_probe() can fail with "Cannot find any crtc or sizes" which will cause fb_helper->funcs->fb_probe not being called, thus fb

Re: [PATCH] drm/fb-helper: only unmap if buffer not null

2021-03-01 Thread Tong Zhang
Hi Tomas, I think the issue could be possibly caused by the following, Please correct me if I'm wrong. drm_fb_helper_single_fb_probe() can fail with "Cannot find any crtc or sizes" which will cause fb_helper->funcs->fb_probe not being called, thus fb_helper->buffer remains NULL -- Since there cou

Re: [PATCH] drm/fb-helper: only unmap if buffer not null

2021-03-01 Thread Thomas Zimmermann
Hi Am 28.02.21 um 05:46 schrieb Tong Zhang: drm_fbdev_cleanup() can be called when fb_helper->buffer is null, hence fb_helper->buffer should be checked before calling drm_client_buffer_vunmap(). This buffer is also checked in drm_client_framebuffer_delete(), so we should also do the same thing f

[PATCH] drm/fb-helper: only unmap if buffer not null

2021-02-27 Thread Tong Zhang
drm_fbdev_cleanup() can be called when fb_helper->buffer is null, hence fb_helper->buffer should be checked before calling drm_client_buffer_vunmap(). This buffer is also checked in drm_client_framebuffer_delete(), so we should also do the same thing for drm_client_buffer_vunmap(). [ 199.128742]