diff options
author | Dave Airlie <airlied@redhat.com> | 2016-05-02 01:35:05 +0300 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2016-05-23 04:35:31 +0300 |
commit | a39ed680bddb1ead592e22ed812c7e47286bfc03 (patch) | |
tree | 510d7161ec444c8e787bbc5a50cf6e2fb2ba0ee3 /include/drm/drm_displayid.h | |
parent | c97291774c1b867b56c3d439ddaec9a965cf559e (diff) | |
download | linux-a39ed680bddb1ead592e22ed812c7e47286bfc03.tar.xz |
drm/edid: add displayid detailed 1 timings to the modelist. (v1.1)
The tiled 5K Dell monitor appears to be hiding it's tiled mode
inside the displayid timings block, this patch parses this
blocks and adds the modes to the modelist.
v1.1: add missing __packed.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=95207
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'include/drm/drm_displayid.h')
-rw-r--r-- | include/drm/drm_displayid.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/include/drm/drm_displayid.h b/include/drm/drm_displayid.h index 623b4e98e748..c0d4df6a606f 100644 --- a/include/drm/drm_displayid.h +++ b/include/drm/drm_displayid.h @@ -73,4 +73,21 @@ struct displayid_tiled_block { u8 topology_id[8]; } __packed; +struct displayid_detailed_timings_1 { + u8 pixel_clock[3]; + u8 flags; + u8 hactive[2]; + u8 hblank[2]; + u8 hsync[2]; + u8 hsw[2]; + u8 vactive[2]; + u8 vblank[2]; + u8 vsync[2]; + u8 vsw[2]; +} __packed; + +struct displayid_detailed_timing_block { + struct displayid_block base; + struct displayid_detailed_timings_1 timings[0]; +}; #endif |