NV services: Difference between revisions
Masagrator (talk | contribs) No edit summary |
Masagrator (talk | contribs) No edit summary |
||
Line 593: | Line 593: | ||
! Value || Direction || Size || Description | ! Value || Direction || Size || Description | ||
|- | |- | ||
| 0x80040212 || Out || 4 || NVDISP_CTRL_NUM_OUTPUTS | | 0x80040212 || Out || 4 || [[#NVDISP_CTRL_NUM_OUTPUTS]] | ||
|- | |- | ||
| 0xC0140213 || Inout || 20 || NVDISP_CTRL_GET_DISPLAY_PROPERTIES | | 0xC0140213 || Inout || 20 || [[#NVDISP_CTRL_GET_DISPLAY_PROPERTIES]] | ||
|- | |- | ||
| 0xC1100214 || Inout || 272 || NVDISP_CTRL_QUERY_EDID | | 0xC1100214 || Inout || 272 || NVDISP_CTRL_QUERY_EDID | ||
Line 611: | Line 611: | ||
| 0x80010224 || Out || 1 || [11.0.0+] NVDISP_CTRL_IS_DISPLAY_OLED | | 0x80010224 || Out || 1 || [11.0.0+] NVDISP_CTRL_IS_DISPLAY_OLED | ||
|} | |} | ||
=== NVDISP_CTRL_NUM_OUTPUTS === | |||
struct { | |||
__out u32 num_outputs; | |||
}; | |||
=== NVDISP_CTRL_GET_DISPLAY_PROPERTIES === | |||
Get the properties for a given output. Identical to Linux driver. | |||
struct { | |||
__in u32 num_output; | |||
__out u32 output_type; // 0 - DSI, 1 - LVDS, 3 - HDMI, 5 - DP | |||
__out u32 connected; | |||
__out s32 associated_head; | |||
__out u32 head_mask; | |||
}; | |||
== /dev/nvdisp-disp0, /dev/nvdisp-disp1 == | == /dev/nvdisp-disp0, /dev/nvdisp-disp1 == |