summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Stultz <john.stultz@linaro.org>2020-02-21 05:56:34 +0000
committerJohn Stultz <john.stultz@linaro.org>2020-02-21 05:56:34 +0000
commitff730f9b4b9a251782dc6808ea32c1ecf3cdb459 (patch)
tree3b91d28a79e328ad71e511347150bf8cfc9a1204
parentc77052eb208e293f5a9c97b41f470edee8e11c46 (diff)
drm_hwcomposer: Relax failure when no EDID property is found
Crosvm doesn't implement EDID virtio cmd, so when commit b3d817815fad ("drm_hwcomposer: Add GetDisplayCapabilities and getDisplayIdentificationData") landed, it broke crosvm targets using --gpu_mode=drm_virgl This patch tries to ease that restriction, so a lack of EDID isn't considered fatal. Change-Id: I8ce899fc71d2b1187d364918328473ef1890d52d Signed-off-by: John Stultz <john.stultz@linaro.org>
-rw-r--r--drm/drmconnector.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/drm/drmconnector.cpp b/drm/drmconnector.cpp
index db3f9b6..81c2b98 100644
--- a/drm/drmconnector.cpp
+++ b/drm/drmconnector.cpp
@@ -60,8 +60,7 @@ int DrmConnector::Init() {
}
ret = drm_->GetConnectorProperty(*this, "EDID", &edid_property_);
if (ret) {
- ALOGE("Could not get EDID property\n");
- return ret;
+ ALOGW("Could not get EDID property\n");
}
if (writeback()) {
ret = drm_->GetConnectorProperty(*this, "WRITEBACK_PIXEL_FORMATS",