diff options
author | Ville Syrjälä <[email protected]> | 2016-05-31 12:08:34 +0300 |
---|---|---|
committer | Jani Nikula <[email protected]> | 2016-06-10 10:41:15 +0300 |
commit | 356d27bbfe332de0f2f78e55636e581960c9774e (patch) | |
tree | 2041822a73e9457dc1c161b8ac266e47915826f6 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | a5aac5ab876ad95b7f5e8d862afb07248ee9cae2 (diff) |
drm/i915: Extract physical display dimensions from VBT
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 <[email protected]>
Tested-by: Stephen Just <[email protected]>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=96255
Signed-off-by: Ville Syrjälä <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Reviewed-by: Mika Kahola <[email protected]>
(cherry picked from commit df457245b5b7515cf97763ebd8975229e34d4cf3)
Signed-off-by: Jani Nikula <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions