summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/nouveau/core/subdev/therm/nva3.c
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2013-04-24 19:07:18 +0300
committerDave Airlie <airlied@redhat.com>2013-04-26 10:25:54 +1000
commita90b590e957d66ea357aeff4cee8425f2567ed33 (patch)
tree1a6b3ecf19c610c65ab2b8b050cd8768d1d48bbb /drivers/gpu/drm/nouveau/core/subdev/therm/nva3.c
parentee7925bb16bc7c4e02f3b64abc7e0dbfbd6ebe86 (diff)
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 'drivers/gpu/drm/nouveau/core/subdev/therm/nva3.c')
0 files changed, 0 insertions, 0 deletions