diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2013-10-14 09:44:27 -0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2013-11-05 22:27:56 -0500 |
commit | e7bfa5c407a39fa1eb0e85180451dda228acc97f (patch) | |
tree | 4f7790a66f26bb987ca57acc2d579f0b13144433 | |
parent | 891a74692f2eeadfa5d62597003e3425c67fb15d (diff) |
drm/edid: Yank a helpful comment about EST modes from xf86EdidModes.c
I got very confused when I tried to compare the EST modes with the spec.
Bring over a comment from xf86EdidModes.c that actually describes some
of history where these things came from.
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>
-rw-r--r-- | drivers/gpu/drm/drm_edid.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c index 1fa47671bf57..01275e6bf638 100644 --- a/drivers/gpu/drm/drm_edid.c +++ b/drivers/gpu/drm/drm_edid.c | |||
@@ -458,6 +458,15 @@ static const struct drm_display_mode drm_dmt_modes[] = { | |||
458 | DRM_MODE_FLAG_PHSYNC | DRM_MODE_FLAG_NVSYNC) }, | 458 | DRM_MODE_FLAG_PHSYNC | DRM_MODE_FLAG_NVSYNC) }, |
459 | }; | 459 | }; |
460 | 460 | ||
461 | /* | ||
462 | * These more or less come from the DMT spec. The 720x400 modes are | ||
463 | * inferred from historical 80x25 practice. The 640x480@67 and 832x624@75 | ||
464 | * modes are old-school Mac modes. The EDID spec says the 1152x864@75 mode | ||
465 | * should be 1152x870, again for the Mac, but instead we use the x864 DMT | ||
466 | * mode. | ||
467 | * | ||
468 | * The DMT modes have been fact-checked; the rest are mild guesses. | ||
469 | */ | ||
461 | static const struct drm_display_mode edid_est_modes[] = { | 470 | static const struct drm_display_mode edid_est_modes[] = { |
462 | { DRM_MODE("800x600", DRM_MODE_TYPE_DRIVER, 40000, 800, 840, | 471 | { DRM_MODE("800x600", DRM_MODE_TYPE_DRIVER, 40000, 800, 840, |
463 | 968, 1056, 0, 600, 601, 605, 628, 0, | 472 | 968, 1056, 0, 600, 601, 605, 628, 0, |