]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7c7feec2ad0d84508735f6be2c0cb90c57bf45df
tree056893b248a2ff0be7aebd96fe0cd9941ca94186
parent1258185f6d7e909d00a05c97d7d320e0267eeed9
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