summaryrefslogtreecommitdiffstats
path: root/drivers/video/tegra/dc/dp.c
diff options
context:
space:
mode:
authorIshwarya Balaji Gururajan <igururajan@nvidia.com>2018-01-25 15:14:32 -0500
committermobile promotions <svcmobile_promotions@nvidia.com>2018-02-11 08:07:39 -0500
commit4514758a84bec3bc7a7c6c7b830b97c96e292ae1 (patch)
tree263d19ee03b52c13b1d288b54ccb36207c49f559 /drivers/video/tegra/dc/dp.c
parent0278f479f647161390e405472b8d0e2659a385bf (diff)
tegra: dc: remove NVDISPLAY ifdefs on hdmivrr
remove VRR_AUTHENTICATION_ENABLED macro and replace it with inline api using runtime API to differentiate between chips. Jira TDS-2719 Change-Id: I80cd71dfa562b71bc3489f6d258fc35b9dfe0794 Signed-off-by: Ishwarya Balaji Gururajan <igururajan@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1646225 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/video/tegra/dc/dp.c')
-rw-r--r--drivers/video/tegra/dc/dp.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/video/tegra/dc/dp.c b/drivers/video/tegra/dc/dp.c
index 3847ea4c5..761cb2b09 100644
--- a/drivers/video/tegra/dc/dp.c
+++ b/drivers/video/tegra/dc/dp.c
@@ -2875,9 +2875,8 @@ static bool tegra_dp_mode_filter(const struct tegra_dc *dc,
2875 2875
2876/* FIXME Bug: 1740464 2876/* FIXME Bug: 1740464
2877 * */ 2877 * */
2878#ifdef VRR_AUTHENTICATION_ENABLED 2878 if (tegra_dc_is_vrr_authentication_enabled())
2879 capability = vrr->capability; 2879 capability = vrr->capability;
2880#endif
2881 2880
2882 if (capability) { 2881 if (capability) {
2883 mode->upper_margin += 2; 2882 mode->upper_margin += 2;