summaryrefslogtreecommitdiffstats
path: root/include/linux/platform
diff options
context:
space:
mode:
authorPetlozu Pravareshwar <petlozup@nvidia.com>2018-08-23 04:27:29 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2018-08-30 01:39:44 -0400
commitbb273a3ce0cfdbec3ff447040a2982eff468eafa (patch)
tree12704db9026621df425578179beb161b8e75deb2 /include/linux/platform
parent127dc1e2b00c341b61c8e0874a1b26e78331aa79 (diff)
nvlink: Disable 1/8th mode for all t19x topologies
Disable single-lane(1/8th) mode for all the t19x nvlink topologies. Also make sure we enable single-lane mode on nvlink only when both of the devices connected on either side of the link supports single lane mode. Bug 2341788 Change-Id: I95eae827cc6a3b748dd91637cdef27509a840c87 Signed-off-by: Petlozu Pravareshwar <petlozup@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1805191 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'include/linux/platform')
-rw-r--r--include/linux/platform/tegra/tegra-nvlink.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/platform/tegra/tegra-nvlink.h b/include/linux/platform/tegra/tegra-nvlink.h
index ae1b7d5cc..40e0a019f 100644
--- a/include/linux/platform/tegra/tegra-nvlink.h
+++ b/include/linux/platform/tegra/tegra-nvlink.h
@@ -248,6 +248,8 @@ struct nvlink_link {
248 * TODO: Set this before registering the link 248 * TODO: Set this before registering the link
249 */ 249 */
250 bool is_connected; 250 bool is_connected;
251 /* Is single-lane mode supported for this link ? */
252 bool is_sl_supported;
251 /* Pointer to device info of connected end point */ 253 /* Pointer to device info of connected end point */
252 struct remote_device_info remote_dev_info; 254 struct remote_device_info remote_dev_info;
253 /* 255 /*