WSL2-Linux-Kernel/drivers/gpu/drm/mxsfb
Alexander Stein 86a337bb80 drm: mxsfb: Fix NULL pointer dereference
[ Upstream commit 622c9a3a78 ]

mxsfb should not ever dereference the NULL pointer which
drm_atomic_get_new_bridge_state is allowed to return.
Assume a fixed format instead.

Fixes: b776b0f00f ("drm: mxsfb: Use bus_format from the nearest bridge if present")
Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Signed-off-by: Marek Vasut <marex@denx.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20220202081755.145716-3-alexander.stein@ew.tq-group.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-03-08 19:12:40 +01:00
..
Kconfig drm/mxsfb: Don't select DRM_KMS_FB_HELPER 2021-04-26 12:42:57 +02:00
Makefile drm: mxsfb: Rename mxsfb_crtc.c to mxsfb_kms.c 2020-07-28 17:21:01 +02:00
mxsfb_drv.c drm: mxsfb: Fix NULL pointer dereference crash on unload 2021-10-21 11:08:08 +02:00
mxsfb_drv.h drm/mxsfb: Convert to Linux IRQ interfaces 2021-08-10 20:13:45 +02:00
mxsfb_kms.c drm: mxsfb: Fix NULL pointer dereference 2022-03-08 19:12:40 +01:00
mxsfb_regs.h drm: mxsfb: Increase number of outstanding requests on V4 and newer HW 2021-07-27 21:15:24 +02:00