diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2013-10-14 15:44:26 +0200 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2013-11-06 04:27:51 +0100 |
commit | 891a74692f2eeadfa5d62597003e3425c67fb15d (patch) | |
tree | 3d5a4a4134d5131d4c0676778472d5967601006f /drivers | |
parent | drm/edid: Fix the 1792x1344-75 EST III mode (diff) | |
download | linux-891a74692f2eeadfa5d62597003e3425c67fb15d.tar.xz linux-891a74692f2eeadfa5d62597003e3425c67fb15d.zip |
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')
-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 0ea0ec720cf8..1fa47671bf57 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; |