]> git.baikalelectronics.ru Git - kernel.git/commit
drm/zte: plane_state->fb iff plane_state->crtc
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 13 Dec 2019 17:26:12 +0000 (18:26 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 28 Jan 2020 14:43:58 +0000 (15:43 +0100)
commit7f3f8beec6931191c5ee0d1051e931dd027e4f53
treecb6ca55ef471c07c7d2db6e8d3f2a6867cac89ed
parent8ae692ff929b692579b6d4d375605833fe2e7751
drm/zte: 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: Rodrigo Siqueira <rodrigosiqueira@gmail.com>
Tested-by: Rodrigo Siqueira <rodrigosiqueira@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Cc: Shawn Guo <shawnguo@kernel.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20191213172612.1514842-10-daniel.vetter@ffwll.ch
drivers/gpu/drm/zte/zx_plane.c