diff options
author | Liu Ying <[email protected]> | 2023-06-12 17:23:59 +0800 |
---|---|---|
committer | Marek Vasut <[email protected]> | 2023-06-25 14:51:35 +0200 |
commit | aa656d48e871a1b062e1bbf9474d8b831c35074c (patch) | |
tree | ec139b90e7856b6a175a30d15402d42ced87a496 /tools/perf/scripts/python | |
parent | cc4fd2934d41a69b4339d7145040d99e7ea79b02 (diff) |
drm/mxsfb: Disable overlay plane in mxsfb_plane_overlay_atomic_disable()
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()")
Cc: [email protected] # 5.19+
Signed-off-by: Liu Ying <[email protected]>
Reviewed-by: Marek Vasut <[email protected]>
Signed-off-by: Marek Vasut <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions