Skip to content
Commit 021b7c7b authored by Daniel Vetter's avatar Daniel Vetter
Browse files

drm/vc4: plane_state->fb iff plane_state->crtc



Checking both is one too much, so wrap a WARN_ON around it to stope
the copypasta.

Reviewed-by: default avatarHeiko Stuebner <heiko@sntech.de>
Signed-off-by: default avatarDaniel Vetter <daniel.vetter@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191213172612.1514842-7-daniel.vetter@ffwll.ch
parent fd907ade
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment