NV services: Difference between revisions

No edit summary
No edit summary
Line 595: Line 595:
| 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 616: Line 616:
   struct {
   struct {
     __out u32 num_outputs;
     __out u32 num_outputs;
  };
=== NVDISP_CTRL_GET_DISPLAY_PROPERTIES ===
Get the properties for a given output. Almost identical to Linux driver.
 
  struct {
    __in u32 num_output;
    __in u32 unk;
    __out u32 output_type; // 0 - DSI, 1 - LVDS, 3 - HDMI, 5 - DP
    __out u32 connected;
    __out s32 associated_head;
    __out u32 head_mask;
   };
   };