Skip to content
Commit 354b051c authored by Paul Cercueil's avatar Paul Cercueil
Browse files

gpu/drm: ingenic: Avoid null pointer deference in plane atomic update



It is possible that there is no drm_framebuffer associated with a given
plane state.

v2: Handle drm_plane->state which can be NULL too

Signed-off-by: default avatarPaul Cercueil <paul@crapouillou.net>
Link: https://patchwork.freedesktop.org/patch/msgid/20191210144142.33143-2-paul@crapouillou.net


# *** extracted tags ***
Acked-by: default avatarSam Ravnborg <sam@ravnborg.org>
parent 9482ae6e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment