I can confirm that this v2 patch, combined with the change to the xorg driver is enough for X to report the correct display dimensions for my Surface 3 device. Thank you, Stephen On Tue, May 31, 2016 at 3:08 AM, wrote: > From: Ville Syrjälä > > The VBT has these mysterious H/V image sizes as part of the display > timings. Looking at some dumps those appear to be the physical > dimensions in mm. Which makes sense since the timing descriptor matches > the format used by EDID detailed timing descriptor, which defines these > as "H/V Addressable Video Image Size in mm". > > So let's use that information from the panel fixed mode to get the > physical dimensions for LVDS/eDP/DSI displays. And with that we can > fill out the display_info so that userspace can get at it via > GetConnector. > > v2: Use (hi<<8)|lo instead of broken (hi<<4)+lo > Handle LVDS and eDP too > > Cc: Stephen Just > Tested-by: Stephen Just (v1) > Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=96255 > Signed-off-by: Ville Syrjälä >