diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2013-10-14 16:44:26 +0300 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2013-11-06 13:27:51 +1000 |
commit | 891a74692f2eeadfa5d62597003e3425c67fb15d (patch) | |
tree | 3d5a4a4134d5131d4c0676778472d5967601006f /drivers/gpu/drm/drm_edid.c | |
parent | c068b32a3e7f3a31af4b2af52b36b5bbc989fa5a (diff) |
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 0ea0ec720cf..1fa47671bf5 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; |