From 9a680076bbe11c79e650425b95c17e969c010dfe Mon Sep 17 00:00:00 2001 From: Benjamin Morris Date: Fri, 8 Sep 2017 19:08:23 -0700 Subject: Enhance InbandStereoSignaling support This change adds a new stereo mode (14) to represent the current combination of stereo mode 3 with InbandStereoSignaling. --- src/libXNVCtrl/NVCtrl.h | 3 ++- src/libXNVCtrlAttributes/NvCtrlAttributes.c | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) 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)", }; -- cgit v1.2.3