summaryrefslogtreecommitdiffstats
path: root/include/drm/drm_edid.h
diff options
context:
space:
mode:
authorJesse Barnes <jbarnes@virtuousgeek.org>2009-02-23 15:36:41 -0800
committerDave Airlie <airlied@linux.ie>2009-02-25 14:11:00 +1000
commitfe56cf45f951b3810313584605c1d8a4f20b33a4 (patch)
tree84b6c8bb6178e7ccd4a5fe890d0945b58ddff4f1 /include/drm/drm_edid.h
parentc8766ac5933d6ee75e7ce379a1eb5ceb451fcb83 (diff)
downloadop-kernel-dev-fe56cf45f951b3810313584605c1d8a4f20b33a4.zip
op-kernel-dev-fe56cf45f951b3810313584605c1d8a4f20b33a4.tar.gz
drm: Fix ordering of bit fields in EDID structure leading huge vsync values.
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org> Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Dave Airlie <airlied@linux.ie>
Diffstat (limited to 'include/drm/drm_edid.h')
-rw-r--r--include/drm/drm_edid.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/drm/drm_edid.h b/include/drm/drm_edid.h
index c707c15..ff8d27a 100644
--- a/include/drm/drm_edid.h
+++ b/include/drm/drm_edid.h
@@ -58,10 +58,10 @@ struct detailed_pixel_timing {
u8 hsync_pulse_width_lo;
u8 vsync_pulse_width_lo:4;
u8 vsync_offset_lo:4;
- u8 hsync_pulse_width_hi:2;
- u8 hsync_offset_hi:2;
u8 vsync_pulse_width_hi:2;
u8 vsync_offset_hi:2;
+ u8 hsync_pulse_width_hi:2;
+ u8 hsync_offset_hi:2;
u8 width_mm_lo;
u8 height_mm_lo;
u8 height_mm_hi:4;
OpenPOWER on IntegriCloud