summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Morris <bquest@nvidia.com>2017-09-08 19:08:23 -0700
committerAaron Plattner <aplattner@nvidia.com>2018-01-04 10:08:55 -0800
commit9a680076bbe11c79e650425b95c17e969c010dfe (patch)
treec776f4f8553a2ebd1620ac38f6533de39df78e75
parent6351cbbde5b50c6caa53b6b24fc731c342d6d3a6 (diff)
Enhance InbandStereoSignaling support
This change adds a new stereo mode (14) to represent the current combination of stereo mode 3 with InbandStereoSignaling.
-rw-r--r--src/libXNVCtrl/NVCtrl.h3
-rw-r--r--src/libXNVCtrlAttributes/NvCtrlAttributes.c1
2 files changed, 3 insertions, 1 deletions
diff --git a/src/libXNVCtrl/NVCtrl.h b/src/libXNVCtrl/NVCtrl.h
index cd63032..122f827 100644
--- a/src/libXNVCtrl/NVCtrl.h
+++ b/src/libXNVCtrl/NVCtrl.h
@@ -332,7 +332,8 @@
#define NV_CTRL_STEREO_3D_VISION_PRO 11
#define NV_CTRL_STEREO_HDMI_3D 12
#define NV_CTRL_STEREO_TRIDELITY_SL 13
-#define NV_CTRL_STEREO_MAX NV_CTRL_STEREO_TRIDELITY_SL
+#define NV_CTRL_STEREO_INBAND_STEREO_SIGNALING 14
+#define NV_CTRL_STEREO_MAX NV_CTRL_STEREO_INBAND_STEREO_SIGNALING
/*
* NV_CTRL_EMULATE - not supported
diff --git a/src/libXNVCtrlAttributes/NvCtrlAttributes.c b/src/libXNVCtrlAttributes/NvCtrlAttributes.c
index dbb4d89..4216b11 100644
--- a/src/libXNVCtrlAttributes/NvCtrlAttributes.c
+++ b/src/libXNVCtrlAttributes/NvCtrlAttributes.c
@@ -1338,6 +1338,7 @@ const char *NvCtrlGetStereoModeNameIfExists(int stereo_mode)
[NV_CTRL_STEREO_3D_VISION] = "NVIDIA 3D Vision",
[NV_CTRL_STEREO_3D_VISION_PRO] = "NVIDIA 3D Vision Pro",
[NV_CTRL_STEREO_HDMI_3D] = "HDMI 3D",
+ [NV_CTRL_STEREO_INBAND_STEREO_SIGNALING] = "Generic Active Stereo (in-band DP)",
};