2545
2545
#define NV_CTRL_FLATPANEL_CHIP_LOCATION_EXTERNAL 1
2548
* NV_CTRL_FLATPANEL_LINK - report whether the specified display
2549
* device is driven by a single link or dual link DVI connection.
2548
* NV_CTRL_FLATPANEL_LINK - report the number of links for a DVI connection, or
2549
* the main link's active lane count for DisplayPort.
2550
2550
* This attribute is only available for flat panels.
2553
2553
#define NV_CTRL_FLATPANEL_LINK 216/* R-DG */
2554
2554
#define NV_CTRL_FLATPANEL_LINK_SINGLE 0
2555
2555
#define NV_CTRL_FLATPANEL_LINK_DUAL 1
2556
#define NV_CTRL_FLATPANEL_LINK_QUAD 3
2558
2559
* NV_CTRL_FLATPANEL_SIGNAL - for the specified display device, report
2559
* whether the flat panel is driven by an LVDS or TMDS signal. This
2560
* attribute is only available for flat panels.
2560
* whether the flat panel is driven by an LVDS, TMDS, or DisplayPort signal.
2561
* This attribute is only available for flat panels.
2563
2564
#define NV_CTRL_FLATPANEL_SIGNAL 217/* R-DG */
2564
2565
#define NV_CTRL_FLATPANEL_SIGNAL_LVDS 0
2565
2566
#define NV_CTRL_FLATPANEL_SIGNAL_TMDS 1
2567
#define NV_CTRL_FLATPANEL_SIGNAL_DISPLAYPORT 2
2825
2827
* initially, but allows them to migrate to video memory.
2826
2828
* NV_CTRL_INITIAL_PIXMAP_PLACEMENT_VIDMEM creates pixmaps in video memory
2827
2829
* when enough resources are available.
2830
* NV_CTRL_INITIAL_PIXMAP_PLACEMENT_RESERVED is currently reserved for future
2831
* use. Behavior is undefined.
2828
2832
* NV_CTRL_INITIAL_PIXMAP_PLACEMENT_GPU_SYSMEM creates pixmaps in GPU accessible
2829
2833
* system memory when enough resources are available.
2833
2837
#define NV_CTRL_INITIAL_PIXMAP_PLACEMENT_FORCE_SYSMEM 0
2834
2838
#define NV_CTRL_INITIAL_PIXMAP_PLACEMENT_SYSMEM 1
2835
2839
#define NV_CTRL_INITIAL_PIXMAP_PLACEMENT_VIDMEM 2
2840
#define NV_CTRL_INITIAL_PIXMAP_PLACEMENT_RESERVED 3
2836
2841
#define NV_CTRL_INITIAL_PIXMAP_PLACEMENT_GPU_SYSMEM 4
3320
3325
#define NV_CTRL_DEPTH_30_ALLOWED 279 /* R--G */
3322
#define NV_CTRL_LAST_ATTRIBUTE NV_CTRL_DEPTH_30_ALLOWED
3328
* NV_CTRL_MODE_SET_EVENT This attribute is sent as an event
3329
* when hotkey, ctrl-alt-+/- or randr event occurs. Note that
3330
* This attribute cannot be set or queried and is meant to
3331
* be received by clients that wish to be notified of when
3332
* mode set events occur.
3335
#define NV_CTRL_MODE_SET_EVENT 280 /* --- */
3338
* NV_CTRL_OPENGL_AA_LINE_GAMMA_VALUE - the gamma value used by
3339
* OpenGL when NV_CTRL_OPENGL_AA_LINE_GAMMA is enabled
3342
#define NV_CTRL_OPENGL_AA_LINE_GAMMA_VALUE 281 /* RW-X */
3345
* NV_CTRL_DISPLAYPORT_LINK_RATE - returns the negotiated lane bandwidth of the
3346
* DisplayPort main link.
3347
* This attribute is only available for DisplayPort flat panels.
3350
#define NV_CTRL_DISPLAYPORT_LINK_RATE 291 /* R-DG */
3351
#define NV_CTRL_DISPLAYPORT_LINK_RATE_DISABLED 0x0
3352
#define NV_CTRL_DISPLAYPORT_LINK_RATE_1_62GBPS 0x6
3353
#define NV_CTRL_DISPLAYPORT_LINK_RATE_2_70GBPS 0xA
3356
* NV_CTRL_STEREO_EYES_EXCHANGE - Controls whether or not the left and right
3357
* eyes of a stereo image are flipped.
3360
#define NV_CTRL_STEREO_EYES_EXCHANGE 292 /* RW-X */
3361
#define NV_CTRL_STEREO_EYES_EXCHANGE_OFF 0
3362
#define NV_CTRL_STEREO_EYES_EXCHANGE_ON 1
3365
* NV_CTRL_NO_SCANOUT - returns whether the special "NoScanout" mode is
3366
* enabled on the specified X screen or GPU; for details on this mode,
3367
* see the description of the "none" value for the "UseDisplayDevice"
3368
* X configuration option in the NVIDIA driver README.
3371
#define NV_CTRL_NO_SCANOUT 293 /* R--G */
3372
#define NV_CTRL_NO_SCANOUT_DISABLED 0
3373
#define NV_CTRL_NO_SCANOUT_ENABLED 1
3376
* NV_CTRL_GVO_CSC_CHANGED_EVENT This attribute is sent as an event
3377
* when the color space conversion matrix has been altered by another
3381
#define NV_CTRL_GVO_CSC_CHANGED_EVENT 294 /* --- */
3384
* NV_CTRL_GVO_SYNC_TO_DISPLAY This attribute controls whether or not
3385
* the non-SDI display device will be sync'ed to the SDI display device
3386
* (when configured in TwinView, Clone Mode or when using the SDI device
3390
#define NV_CTRL_GVO_SYNC_TO_DISPLAY 296 /* --- */
3391
#define NV_CTRL_GVO_SYNC_TO_DISPLAY_DISABLE 0
3392
#define NV_CTRL_GVO_SYNC_TO_DISPLAY_ENABLE 1
3395
#define NV_CTRL_LAST_ATTRIBUTE NV_CTRL_GVO_SYNC_TO_DISPLAY
3324
3397
/**************************************************************************/