commit | 4ad7056a4014e1cbc77f7b0361398fa26d2817b1 | [log] [tgz] |
---|---|---|
author | Daniel Vetter <daniel.vetter@ffwll.ch> | Fri Dec 13 18:26:10 2019 +0100 |
committer | Gerd Hoffmann <kraxel@redhat.com> | Mon Dec 16 12:39:50 2019 +0100 |
tree | 74e0418481ecd7ac471a7a52ec556d670b1d0db6 | |
parent | f2f7df4fbfb8fcfa8fd5900ef1e438ab400ab789 [diff] |
drm/virtio: plane_state->fb iff plane_state->crtc Checking both is one too much, so wrap a WARN_ON around it to stope the copypasta. Signed-off-by: Daniel Vetter <daniel.vetter@intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/20191213172612.1514842-8-daniel.vetter@ffwll.ch Cc: David Airlie <airlied@linux.ie> Cc: Gerd Hoffmann <kraxel@redhat.com> Cc: virtualization@lists.linux-foundation.org Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>