]> 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)
commit588972468ac40808a42d60dd537aa547ba4092bc
tree691af64999bd3b0597a92e5b69a48ed2b76100fd
parentb78293eb1af09565c8f29f896fdb11a92d890e00
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