drm/i915: ignore link rate in TPS3 selection
authorJani Nikula <jani.nikula@intel.com>
Thu, 3 Sep 2015 08:16:08 +0000 (11:16 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 4 Sep 2015 08:14:17 +0000 (10:14 +0200)
commit1da7d7131c35cde83f1bab8ec732b57b69bef814
treeb461a4f69ce5a184584cee3084169c21d6545362
parentbc5133d595a0ddfaaa5edb4b077f44d92cc8fb0d
drm/i915: ignore link rate in TPS3 selection

TPS3 is mandatory for downstream devices that support HBR2, and Intel
platforms that support HBR2 also support TPS3. Whenever TPS3 is
supported by both the source and sink, it should be used. In other
words, whenever the source and sink are capable of 5.4 Gbps link, we
should anyway go for TPS3, regardless of the link rate being selected.

Log an error if the sink has advertized HBR2 capability without TPS3
capability.

Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_dp.c