diff options
| author | Dave Airlie <airlied@redhat.com> | 2016-05-02 08:35:05 +1000 |
|---|---|---|
| committer | Abhinav Kumar <abhinavk@codeaurora.org> | 2017-04-07 15:48:47 -0700 |
| commit | ced4456e0896431a2bb4d5078b432e1857ce1d56 (patch) | |
| tree | 7f355f36399114c9b10c98f6ea84fbcf563fdb65 /include/drm | |
| parent | a45e2639921048ba4750f18b7303e7c62842ee5a (diff) | |
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
block and adds the modes to the modelist.
v1.1: add missing __packed.
Change-Id: Ief7b88bc18b6a7514a8575412937b74c38f971e4
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=95207
Signed-off-by: Dave Airlie <airlied@redhat.com>
Git-commit: a39ed680bddb1ead592e22ed812c7e47286bfc03
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Signed-off-by: Abhinav Kumar <abhinavk@codeaurora.org>
Diffstat (limited to 'include/drm')
| -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 |
