[Xf86-video-armsoc] [PATCH 1/3] Set MONITOR_EDID_COMPLETE_RAWDATA flag

Daniel Drake drake at endlessm.com
Fri Nov 14 10:31:03 PST 2014


Setting this flag results in the entire EDID (including CEA extension)
becoming available to clients via X properties, rather than just
the first 128 bytes.
---
 src/drmmode_display.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/drmmode_display.c b/src/drmmode_display.c
index bfa1905..81af4a0 100644
--- a/src/drmmode_display.c
+++ b/src/drmmode_display.c
@@ -965,6 +965,8 @@ drmmode_output_get_modes(xf86OutputPtr output)
 				drmmode_output->edid_blob->data);
 
 	if (ddc_mon) {
+		if (drmmode_output->edid_blob->length > 128)
+			ddc_mon->flags |= MONITOR_EDID_COMPLETE_RAWDATA;
 		xf86OutputSetEDID(output, ddc_mon);
 		xf86SetDDCproperties(pScrn, ddc_mon);
 	}
-- 
1.8.1.2



More information about the Xf86-video-armsoc mailing list