drm/i915/dp: abstract training pattern selection
authorJani Nikula <jani.nikula@intel.com>
Fri, 5 Feb 2016 10:16:09 +0000 (12:16 +0200)
committerJani Nikula <jani.nikula@intel.com>
Fri, 5 Feb 2016 12:38:56 +0000 (14:38 +0200)
commit23a5110dc619073b57d90c36eae383f51df03aac
treed269ce76849892bb937595a49d6ed1c837d3476b
parent96afef1d5adee8722549c8c2b788d656ea2ecf21
drm/i915/dp: abstract training pattern selection

Make it cleaner to add more checks in the function. No functional
changes.

Cc: Ander Conselvan de Oliveira <conselvan2@gmail.com>
Cc: Sivakumar Thulasimani <sivakumar.thulasimani@intel.com>
Reviewed-by: Sivakumar Thulasimani <sivakumar.thulasimani@intel.com>
Cc: drm-intel-fixes@lists.freedesktop.org # dependency on the next patch
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1454667370-8001-1-git-send-email-jani.nikula@intel.com
drivers/gpu/drm/i915/intel_dp_link_training.c