diff options
author | Jesse Barnes <jbarnes@virtuousgeek.org> | 2009-02-24 00:36:41 +0100 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2009-02-25 05:11:00 +0100 |
commit | fe56cf45f951b3810313584605c1d8a4f20b33a4 (patch) | |
tree | 84b6c8bb6178e7ccd4a5fe890d0945b58ddff4f1 /include/drm/drm_edid.h | |
parent | drm: Fix shifts of EDID vsync offset/width fields. (diff) | |
download | linux-fe56cf45f951b3810313584605c1d8a4f20b33a4.tar.xz linux-fe56cf45f951b3810313584605c1d8a4f20b33a4.zip |
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 '')
-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; |