diff options
author | Jesse Barnes <jbarnes@virtuousgeek.org> | 2009-02-23 15:36:41 -0800 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2009-02-25 14:11:00 +1000 |
commit | fe56cf45f951b3810313584605c1d8a4f20b33a4 (patch) | |
tree | 84b6c8bb6178e7ccd4a5fe890d0945b58ddff4f1 /include/drm | |
parent | c8766ac5933d6ee75e7ce379a1eb5ceb451fcb83 (diff) | |
download | linux-fe56cf45f951b3810313584605c1d8a4f20b33a4.tar.bz2 |
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')
-rw-r--r-- | include/drm/drm_edid.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/drm/drm_edid.h b/include/drm/drm_edid.h index c707c15f5164..ff8d27af4786 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; |