Re: [PATCH] drm/mxsfb: Disable overlay plane in mxsfb_plane_overlay_atomic_disable()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 6/12/23 11:15, Ying Liu wrote:
On Mon, Jun 12, 2023 at 5:06 PM Marek Vasut <marex@xxxxxxx> wrote:

On 6/12/23 09:55, Liu Ying wrote:
When disabling overlay plane in mxsfb_plane_overlay_atomic_update(),
overlay plane's framebuffer pointer is NULL.  So, dereferencing it would
cause a kernel Oops(NULL pointer dereferencing).  Fix the issue by
disabling overlay plane in mxsfb_plane_overlay_atomic_disable() instead.

Fixes: cb285a5348e7 ("drm: mxsfb: Replace mxsfb_get_fb_paddr() with drm_fb_cma_get_gem_addr()")
Signed-off-by: Liu Ying <victor.liu@xxxxxxx>

Should this be Cc: stable too ?

Ok, will explicitly Cc: stable.  Thanks.

Add

Reviewed-by: Marek Vasut <marex@xxxxxxx>

And also, wait a little bit for RB from others.

Thanks !



[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux