diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2013-10-14 13:44:26 (GMT) |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2013-11-06 03:27:51 (GMT) |
commit | 891a74692f2eeadfa5d62597003e3425c67fb15d (patch) | |
tree | 3d5a4a4134d5131d4c0676778472d5967601006f /drivers/gpu/drm/drm_edid.c | |
parent | c068b32a3e7f3a31af4b2af52b36b5bbc989fa5a (diff) | |
download | linux-891a74692f2eeadfa5d62597003e3425c67fb15d.tar.xz |
drm/edid: Don't skip every eighth EST III mode
Also check the est3 modes whose presence is indicated by bit 0.
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/drm_edid.c')
-rw-r--r-- | drivers/gpu/drm/drm_edid.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c index 0ea0ec7..1fa4767 100644 --- a/drivers/gpu/drm/drm_edid.c +++ b/drivers/gpu/drm/drm_edid.c @@ -2080,7 +2080,7 @@ drm_est3_modes(struct drm_connector *connector, struct detailed_timing *timing) u8 *est = ((u8 *)timing) + 5; for (i = 0; i < 6; i++) { - for (j = 7; j > 0; j--) { + for (j = 7; j >= 0; j--) { m = (i * 8) + (7 - j); if (m >= ARRAY_SIZE(est3_modes)) break; |