summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915
diff options
context:
space:
mode:
authorManasi Navare2018-02-28 23:31:50 +0100
committerJani Nikula2018-03-01 08:21:18 +0100
commitc71b53cc66c5053ff3524a6132f8fc8199d618c3 (patch)
tree9a0225c3d9f3529d28e7e3158c67bd497d8a506d /drivers/gpu/drm/i915
parentdrm/i915/dp: move link rate arrays where they're used (diff)
downloadkernel-qcow2-linux-c71b53cc66c5053ff3524a6132f8fc8199d618c3.tar.gz
kernel-qcow2-linux-c71b53cc66c5053ff3524a6132f8fc8199d618c3.tar.xz
kernel-qcow2-linux-c71b53cc66c5053ff3524a6132f8fc8199d618c3.zip
drm/i915/dp: Add HBR3 rate (8.1 Gbps) to dp_rates array
dp_rates[] array is a superset of all the link rates supported by sink devices. DP 1.3 specification adds HBR3 (8.1Gbps) link rate to the set of link rates supported by sink. This patch adds this rate to dp_rates[] array that gets used to populate the sink_rates[] array limited by max rate obtained from DP_MAX_LINK_RATE DPCD register. v2: * Rebased on top of Jani's localized rates patch Cc: Jani Nikula <jani.nikula@linux.intel.com> Cc: Ville Syrjälä <ville.syrjala@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/1519857110-26916-1-git-send-email-manasi.d.navare@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915')
-rw-r--r--drivers/gpu/drm/i915/intel_dp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/intel_dp.c b/drivers/gpu/drm/i915/intel_dp.c
index afb49b906d71..be67106a7759 100644
--- a/drivers/gpu/drm/i915/intel_dp.c
+++ b/drivers/gpu/drm/i915/intel_dp.c
@@ -134,7 +134,7 @@ static void intel_dp_unset_edid(struct intel_dp *intel_dp);
static void intel_dp_set_sink_rates(struct intel_dp *intel_dp)
{
static const int dp_rates[] = {
- 162000, 270000, 540000
+ 162000, 270000, 540000, 810000
};
int i, max_rate;