gpu: ipu-v3: ipu-dc: don't bug out on invalid bus_format
authorPhilipp Zabel <p.zabel@pengutronix.de>
Wed, 6 Jul 2016 09:06:18 +0000 (11:06 +0200)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Tue, 12 Jul 2016 16:26:05 +0000 (18:26 +0200)
commitb575b31387f64f63019c88a0ddbf1e0cc0cd8cd9
tree427adc3374ccb4460fa2a6d2fe81ec3a8b04a417
parent4f7a5129134148ad917be5c4164a42823056a9f3
gpu: ipu-v3: ipu-dc: don't bug out on invalid bus_format

If imx-drm is combined with a bridge or panel that requests an
unsupported format, warn and use a default mapping instead of
hanging the machine. The worst that can happen here are wrong
colors.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
drivers/gpu/ipu-v3/ipu-dc.c