drm/i915/dp: Fix the order of platforms for setting DP source rates
authorManasi Navare <manasi.d.navare@intel.com>
Tue, 27 Feb 2018 03:11:15 +0000 (19:11 -0800)
committerJani Nikula <jani.nikula@intel.com>
Tue, 27 Feb 2018 09:58:14 +0000 (11:58 +0200)
commitba1c06a5727b59b4ac118a91cc9fe82c123acbab
tree5c2aa06f4d26229876c2442b6a2fdc4032705bc5
parentf6322eddaff7662e81178a28730e420bf934a512
drm/i915/dp: Fix the order of platforms for setting DP source rates

The usual if ladder order should be from newest to oldest
platform. However the CNL conditional statement was misplaced.
This patch sets the DP source for platforms starting from the newest
to oldest.

Suggested-by: Jani Nikula <jani.nikula@linux.intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Cc: Jani Nikula <jani.nikula@linux.intel.com>
Signed-off-by: Manasi Navare <manasi.d.navare@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/1519701075-9894-1-git-send-email-manasi.d.navare@intel.com
drivers/gpu/drm/i915/intel_dp.c