Skip to content

Commit fe56cf4

Browse files
jbarnes993airlied
authored andcommitted
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>
1 parent c8766ac commit fe56cf4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎include/drm/drm_edid.h‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,10 @@ struct detailed_pixel_timing {
5858
u8 hsync_pulse_width_lo;
5959
u8 vsync_pulse_width_lo:4;
6060
u8 vsync_offset_lo:4;
61-
u8 hsync_pulse_width_hi:2;
62-
u8 hsync_offset_hi:2;
6361
u8 vsync_pulse_width_hi:2;
6462
u8 vsync_offset_hi:2;
63+
u8 hsync_pulse_width_hi:2;
64+
u8 hsync_offset_hi:2;
6565
u8 width_mm_lo;
6666
u8 height_mm_lo;
6767
u8 height_mm_hi:4;

0 commit comments

Comments
 (0)