drm/i915: Clean up EDID downclock mode lookup
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 21 Mar 2019 13:24:46 +0000 (15:24 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 22 Mar 2019 16:41:39 +0000 (18:41 +0200)
commitabf1aae8259e7f24dc88ebba4a5df1f8fd72f7c8
tree239c32d0319d201467682a5c99a85a291b6d325e
parent9f6fbe22be90b73ea98a71ecca3599bac5189734
drm/i915: Clean up EDID downclock mode lookup

Rename intel_find_panel_downclock() to intel_panel_edid_downclock_mode()
to make it clear it's looking for the downclock mode in the EDID.
And while at it polish the implementation a bit as well.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190321132446.22394-6-ville.syrjala@linux.intel.com
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Acked-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/intel_dp.c
drivers/gpu/drm/i915/intel_drv.h
drivers/gpu/drm/i915/intel_panel.c