]> git.baikalelectronics.ru Git - kernel.git/commit
drm/edid: Use drm_mode_match_no_clocks_no_stereo() for consistentcy
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 8 May 2018 11:09:37 +0000 (16:39 +0530)
committerMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Fri, 11 May 2018 06:59:43 +0000 (08:59 +0200)
commit0ace509e80d8c63b5573cf0fcfcaebc751547daa
tree355c36586695469892e9525748dd9bd2d8524b96
parent74ec7005417d589dd9fb312b5fea8b86072d6860
drm/edid: Use drm_mode_match_no_clocks_no_stereo() for consistentcy

Use drm_mode_equal_no_clocks_no_stereo() in
drm_match_hdmi_mode_clock_tolerance() for consistency as we
also use it in drm_match_hdmi_mode() and the cea mode matching
functions.

This doesn't actually change anything since the input mode
comes from detailed timings and we match it against
edid_4k_modes[] which. So none of those modes can have stereo
flags set.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Shashank Sharma <shashank.sharma@intel.com>
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/1525777785-9740-3-git-send-email-ankit.k.nautiyal@intel.com
drivers/gpu/drm/drm_edid.c