# \[PATCH 01/12\] OMAP: DSS2: add read\_edid() to omap\_dss\_driver struct

- From: Tomi Valkeinen \<hidden\>
- Date: 2011-08-31 13:23:12 
- List: linux-fbdev
- Page: https://ratatoskr.run/linux-fbdev/2011/08/13461909
- Thread: https://ratatoskr.run/linux-omap/2011/08/13461862/t.md

```text
read_edid() can be used to get the EDID information from the display.

Signed-off-by: Tomi Valkeinen <redacted>
---
 include/video/omapdss.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/include/video/omapdss.h b/include/video/omapdss.h
index f8385ae..8ed5a6c 100644
--- a/include/video/omapdss.h
+++ b/include/video/omapdss.h
@@ -558,6 +558,8 @@ struct omap_dss_driver {
 
 	int (*set_wss)(struct omap_dss_device *dssdev, u32 wss);
 	u32 (*get_wss)(struct omap_dss_device *dssdev);
+
+	int (*read_edid)(struct omap_dss_device *dssdev, u8 *buf, int len);
 };
 
 int omap_dss_register_driver(struct omap_dss_driver *);
-- 
1.7.4.1

```
