]> git.baikalelectronics.ru Git - kernel.git/commit
drm/edid: compare actual vrefresh for all modes for quirks
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 15 Aug 2013 15:42:14 +0000 (11:42 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 11 Nov 2013 16:08:12 +0000 (11:08 -0500)
commit8ecb36b21ca90df2e5472b1155867724b5994b9c
tree586411bf2f05a6bc4467fba6f7c14e334c50b4ef
parentc8dff0f8efec0e738eb5f75458bae04e0c13cffc
drm/edid: compare actual vrefresh for all modes for quirks

The vrefresh field of the mode is 0 for most modes
fetched from the EDID (e.g., established timings).
When dealing with monitors that have a bogus preferred
mode, we may not always select the mode we want because
we compare the target refresh to the mode's vrefresh which
is 0 in a lot of cases.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
drivers/gpu/drm/drm_edid.c