From bb273a3ce0cfdbec3ff447040a2982eff468eafa Mon Sep 17 00:00:00 2001 From: Petlozu Pravareshwar Date: Thu, 23 Aug 2018 01:27:29 -0700 Subject: 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 Reviewed-on: https://git-master.nvidia.com/r/1805191 Reviewed-by: mobile promotions Tested-by: mobile promotions --- include/linux/platform/tegra/tegra-nvlink.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/linux/platform') 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 { * TODO: Set this before registering the link */ bool is_connected; + /* Is single-lane mode supported for this link ? */ + bool is_sl_supported; /* Pointer to device info of connected end point */ struct remote_device_info remote_dev_info; /* -- cgit v1.2.2