diff options
Diffstat (limited to 'drivers/gpu/drm/drm_edid.c')
-rw-r--r-- | drivers/gpu/drm/drm_edid.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c index e1aca7b53987..67aa0dd68250 100644 --- a/drivers/gpu/drm/drm_edid.c +++ b/drivers/gpu/drm/drm_edid.c | |||
@@ -2054,7 +2054,8 @@ int drm_add_edid_modes(struct drm_connector *connector, struct edid *edid) | |||
2054 | num_modes += add_cvt_modes(connector, edid); | 2054 | num_modes += add_cvt_modes(connector, edid); |
2055 | num_modes += add_standard_modes(connector, edid); | 2055 | num_modes += add_standard_modes(connector, edid); |
2056 | num_modes += add_established_modes(connector, edid); | 2056 | num_modes += add_established_modes(connector, edid); |
2057 | num_modes += add_inferred_modes(connector, edid); | 2057 | if (edid->features & DRM_EDID_FEATURE_DEFAULT_GTF) |
2058 | num_modes += add_inferred_modes(connector, edid); | ||
2058 | num_modes += add_cea_modes(connector, edid); | 2059 | num_modes += add_cea_modes(connector, edid); |
2059 | 2060 | ||
2060 | if (quirks & (EDID_QUIRK_PREFER_LARGE_60 | EDID_QUIRK_PREFER_LARGE_75)) | 2061 | if (quirks & (EDID_QUIRK_PREFER_LARGE_60 | EDID_QUIRK_PREFER_LARGE_75)) |