drm: rcar-du: Disable fbdev emulation when no connector is present
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Tue, 24 Feb 2015 01:51:26 +0000 (03:51 +0200)
committerLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Tue, 3 Mar 2015 14:16:06 +0000 (16:16 +0200)
commit931b7336214bec8538babfde5eaa6833e179c804
tree056893b248a2ff0be7aebd96fe0cd9941ca94186
parent0cd90a542885a1272b58f96bbe4010588105e1bc
drm: rcar-du: Disable fbdev emulation when no connector is present

fbdev emulation requires at least one connector, and will fail to
initialize if no connector has been successfully instantiated. Disable
it in that case and print an informational message instead of failing
probe with a confusing fbdev emulation error message.

It could be argued that probe should fail when no connector is present,
but the DU could still be useful in that case with the to-be-implemented
memory write-back support.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
drivers/gpu/drm/rcar-du/rcar_du_kms.c