diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2013-04-24 19:07:18 +0300 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2013-04-26 10:25:54 +1000 |
commit | a90b590e957d66ea357aeff4cee8425f2567ed33 (patch) | |
tree | 1a6b3ecf19c610c65ab2b8b050cd8768d1d48bbb /.gitignore | |
parent | ee7925bb16bc7c4e02f3b64abc7e0dbfbd6ebe86 (diff) | |
download | op-kernel-dev-a90b590e957d66ea357aeff4cee8425f2567ed33.zip op-kernel-dev-a90b590e957d66ea357aeff4cee8425f2567ed33.tar.gz |
drm/edid: Check both 60Hz and 59.94Hz when looking for a CEA mode
drm_match_cea_mode() should be able to match both the 60Hz version,
and the 59.94Hz version of modes.
We only store one pixel clock value per mode in edid_cea_modes, so the
other value must be calculated. Depending on the mode, edid_cea_modes
contains the pixel clock for either the 60Hz version or the 59.94Hz
version, so a bit of care is needed so that the calculation produces
the correct result.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=46800
Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions