diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2013-05-31 15:23:41 +0300 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2013-06-11 08:51:31 +1000 |
commit | e6e792092e816bea0797995c886fb057c91d4546 (patch) | |
tree | cff8c2889d60c9c1af7a5aeaa1f886071ed98029 /include/drm/drm_crtc.h | |
parent | a5d0f5766f2e9cb04f0f775bf679d41ae1a54d50 (diff) | |
download | linux-stable-e6e792092e816bea0797995c886fb057c91d4546.tar.gz linux-stable-e6e792092e816bea0797995c886fb057c91d4546.tar.bz2 linux-stable-e6e792092e816bea0797995c886fb057c91d4546.zip |
drm/edid: Add both 60Hz and 59.94Hz CEA modes to connector's mode list
Having both modes can be beneficial for video playback cases. If you can
match the video framerate exactly, and the audio and video clocks come
from the same source, you should be able to avoid dropped/repeated
frames without expensive operations such as resampling the audio to
match video output rate.
Rather than add both variants based on the CEA extension short video
descriptors in do_cea_modes(), add only one variant there. Once all
the EDID has been fully probed, do a loop over the entire probed mode
list, during which we add the other variants for all modes that match
CEA modes. This allows us to match modes that didn't come via the CEA
short video descriptors. For example one Samsung TV here doesn't have
the 640x480-60 mode as a SVD, but instead it's specified via a detailed
timing descriptor.
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'include/drm/drm_crtc.h')
0 files changed, 0 insertions, 0 deletions