GNOME Bugzilla – Bug 652050
Add gnome_rr_output_get_edid_size()
Last modified: 2011-06-07 15:54:01 UTC
Created attachment 189401 [details] [review] [patch] patch for review It's wrong to assume that the EDID size is always 128 bytes if there are extension blocks. --- This functionality is required if we want to parse the EDID in any safe way.
Review of attachment 189401 [details] [review]: ::: libgnome-desktop/gnome-rr.h @@ +134,3 @@ int gnome_rr_output_get_height_mm (GnomeRROutput *output); const guint8 * gnome_rr_output_get_edid_data (GnomeRROutput *output); +gsize gnome_rr_output_get_edid_size (GnomeRROutput *output); Nope. Use: const guint8 * gnome_rr_output_get_edid_data (GnomeRROutput *output, gsize *size); And return the size (we can break the API, it's unstable).
Created attachment 189415 [details] [review] patch for review Something like this...
Review of attachment 189415 [details] [review]: Looks good.
Cool, thanks. I'll fix up any breakage in jhbuild as it pops up.