]> git.baikalelectronics.ru Git - kernel.git/commit
drm/vc4: plane_state->fb iff plane_state->crtc
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 13 Dec 2019 17:26:09 +0000 (18:26 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 28 Jan 2020 14:42:43 +0000 (15:42 +0100)
commit3cf6ea40267d1af12a30646b5b1a5f76c1f99b22
tree4519cdc651e504c72cc03c33e3c93f3ca5be3038
parent17e1f8e5c7215c34c95209103de205b8fc83015d
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: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191213172612.1514842-7-daniel.vetter@ffwll.ch
drivers/gpu/drm/vc4/vc4_plane.c