]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Don't copy sink rates either
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 12 Mar 2015 15:10:30 +0000 (17:10 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 20 Mar 2015 10:48:05 +0000 (11:48 +0100)
commitdc2b0de2e1d307fb658d792d6dc82d17ea3445f8
tree691af64999bd3b0597a92e5b69a48ed2b76100fd
parentf1c2da8a1f0da9aaab168aa95138e135c51d02cf
drm/i915: Don't copy sink rates either

Once we've read the rates from the sink we don't have to mess with them,
so the caller can just look at the stored rates without doing extra
copies. If the sink doesn't support the new link rate stuff, we just
point the caller at the default_rates[] array.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Sonika Jindal <sonika.jindal@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_dp.c