drm_hwcomposer: Fix EDID fetch from DRM
EDID fetch procedure consist of two steps:
1) get appropriate blob_id
2) fetch EDID blob using blob_id
Those steps should be done sequentially, in
other case drivers can update EDID and blob_id
won't be actual.
Signed-off-by: Andrii Chepurnyi <andrii_chepurnyi@epam.com>
diff --git a/drm/DrmConnector.h b/drm/DrmConnector.h
index 3fdf146..8533af8 100644
--- a/drm/DrmConnector.h
+++ b/drm/DrmConnector.h
@@ -40,6 +40,8 @@
DrmConnector &operator=(const DrmProperty &) = delete;
int Init();
+ int UpdateEdidProperty();
+ int GetEdidBlob(drmModePropertyBlobPtr &blob);
uint32_t id() const;