Commit 3758d968 authored by David Weinehall's avatar David Weinehall Committed by Rodrigo Vivi

drm/i915: Fix incorrect comment

While the comment singles out Port A or B, the code says Port A or *D*.
Looking at the history it seems that the comment was added after the code,
so it seems likely that the code is correct, not the comment.

CC: Jani Nikula <jani.nikula@intel.com>
CC: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: default avatarDavid Weinehall <david.weinehall@linux.intel.com>
Reviewed-by: default avatarJames Ausmus <james.ausmus@intel.com>
Signed-off-by: default avatarRodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180209130755.11893-1-david.weinehall@linux.intel.com
parent e53792f4
...@@ -256,7 +256,7 @@ static int cnl_max_source_rate(struct intel_dp *intel_dp) ...@@ -256,7 +256,7 @@ static int cnl_max_source_rate(struct intel_dp *intel_dp)
if (IS_CNL_WITH_PORT_F(dev_priv)) if (IS_CNL_WITH_PORT_F(dev_priv))
return 810000; return 810000;
/* For other SKUs, max rate on ports A and B is 5.4G */ /* For other SKUs, max rate on ports A and D is 5.4G */
if (port == PORT_A || port == PORT_D) if (port == PORT_A || port == PORT_D)
return 540000; return 540000;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment