Check video_init() result.

Since in VM /dev/dri/card1 may be created after frecon run,
kms_open(), and video_init() as the result will often fail.
This would lead to frecon crashes early in the boot, and VMTest failures.

BUG=chromium:450400,chromium:491272
TEST=boot rambi VM, observe no frecon segfaults in syslog

Change-Id: I2b2e766a99809db1356c0d7fdaaf850e8652fc84
Reviewed-on: https://chromium-review.googlesource.com/273022
Trybot-Ready: Yuly Novikov <ynovikov@chromium.org>
Reviewed-by: Stéphane Marchesin <marcheu@chromium.org>
Commit-Queue: Yuly Novikov <ynovikov@chromium.org>
Tested-by: Yuly Novikov <ynovikov@chromium.org>
2 files changed