Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
It's possible that state->base.fb is null. Add a check before access its format. Fixes: b6b1bb9 ("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>
- Loading branch information