summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/intel_dp_link_training.c
diff options
context:
space:
mode:
authorJani Nikula <jani.nikula@intel.com>2017-03-28 17:59:04 +0300
committerJani Nikula <jani.nikula@intel.com>2017-04-06 14:33:55 +0300
commit55cfc580809698e952c1df36140eefb8d97ce222 (patch)
tree335eb99c535687839cfc86bc80d7e78c340e263d /drivers/gpu/drm/i915/intel_dp_link_training.c
parent8001b7541aa7a2f0adc4941bdebf44ea969e7ed5 (diff)
downloadlinux-55cfc580809698e952c1df36140eefb8d97ce222.tar.gz
linux-55cfc580809698e952c1df36140eefb8d97ce222.tar.bz2
linux-55cfc580809698e952c1df36140eefb8d97ce222.zip
drm/i915/dp: cache source rates at init
We need the source rates array so often that it makes sense to set it once at init. This reduces function calls when we need the rates, making the code easier to follow. Cc: Manasi Navare <manasi.d.navare@intel.com> Cc: Ville Syrjälä <ville.syrjala@linux.intel.com> Reviewed-by: Manasi Navare <manasi.d.navare@intel.com> Signed-off-by: Jani Nikula <jani.nikula@intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/aa998882d2b824f671272c60e9d26621ab9d2d17.1490712890.git.jani.nikula@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/intel_dp_link_training.c')
0 files changed, 0 insertions, 0 deletions