drm/atomic: Remove WARN_ON for invalid plane configuration.
authorMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Tue, 30 Jan 2018 10:27:04 +0000 (11:27 +0100)
committerMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Tue, 30 Jan 2018 15:42:21 +0000 (16:42 +0100)
commitfa5aaeecf524ecbcae9755ee3d34b7b8ba412583
treed08dacffd85ef49148ac3880a9b7154bf1a3eaf8
parent1a1c130cca78c77209cd795282d93297640fb63e
drm/atomic: Remove WARN_ON for invalid plane configuration.

Userspace can set a FB_ID on a plane without setting CRTC_ID, which
will fail with -EINVAL, but the kernel shouldn't warn about that.

Same for !FB_ID and CRTC_ID being set.

Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20180130102704.28016-1-maarten.lankhorst@linux.intel.com
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
drivers/gpu/drm/drm_atomic.c