linux_dsm_epyc7002/drivers/gpu/drm/mediatek
Yongqiang Niu bed8bed041 drm/mediatek: Check if fb is null
[ Upstream commit b1d685b6467ac0d98fc63989f71b4ca9186be5d4 ]

It's possible that state->base.fb is null. Add a check before access its
format.

Fixes: b6b1bb980e ("drm/mediatek: Turn off Alpha bit when plane format has no alpha")
Signed-off-by: Yongqiang Niu <yongqiang.niu@mediatek.com>
Signed-off-by: Chun-Kuang Hu <chunkuang.hu@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-03-04 11:37:46 +01:00
..
Kconfig
Makefile
mtk_cec.c
mtk_cec.h
mtk_disp_color.c
mtk_disp_ovl.c drm/mediatek: Check if fb is null 2021-03-04 11:37:46 +01:00
mtk_disp_rdma.c
mtk_dpi_regs.h
mtk_dpi.c drm/mediatek: mtk_dpi: Fix unused variable 'mtk_dpi_encoder_funcs' 2020-11-05 07:44:10 +08:00
mtk_drm_crtc.c ARM: SoC-related driver updates 2020-10-24 10:39:22 -07:00
mtk_drm_crtc.h
mtk_drm_ddp_comp.c drm/mediatek: Use correct aliases name for ovl 2020-12-30 11:53:24 +01:00
mtk_drm_ddp_comp.h
mtk_drm_ddp.c
mtk_drm_ddp.h
mtk_drm_drv.c
mtk_drm_drv.h
mtk_drm_gem.c
mtk_drm_gem.h
mtk_drm_plane.c
mtk_drm_plane.h
mtk_dsi.c drm/mediatek: dsi: Modify horizontal front/back porch byte formula 2020-11-21 18:31:07 +08:00
mtk_hdmi_ddc.c
mtk_hdmi_regs.h
mtk_hdmi.c
mtk_hdmi.h
mtk_mipi_tx.c
mtk_mipi_tx.h
mtk_mt8173_mipi_tx.c
mtk_mt8183_mipi_tx.c