drm/omap: print error instead of WARN() if plane setup fails
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 10 Jun 2016 09:44:31 +0000 (12:44 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 2 Nov 2016 08:38:28 +0000 (10:38 +0200)
commitcfb73f202dd9952bbcdb12895813ea32008db3c5
treed5ad10bf81ed883d2bb8a353f99f129ec872fcd4
parent70dd2a62aa35687ee01c756ea201ea3e970c28ad
drm/omap: print error instead of WARN() if plane setup fails

omap_plane_atomic_update() does WARN_ON() if dispc rejects the given
plane config. Change that to dev_err() to lessen the possible spam.

To fix this correctly, the plane setup needs much more work by creating
a check function for dispc setup, so that we could reliably check the
config in atomic_check, instead of only noticing the problem when
programming dispc.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/gpu/drm/omapdrm/omap_plane.c