Jerome Glisse | 771fe6b | 2009-06-05 14:42:42 +0200 | [diff] [blame] | 1 | /* |
Alex Deucher | a7bc115 | 2010-01-07 11:35:48 -0500 | [diff] [blame] | 2 | * Copyright 2006-2007 Advanced Micro Devices, Inc. |
Jerome Glisse | 771fe6b | 2009-06-05 14:42:42 +0200 | [diff] [blame] | 3 | * |
| 4 | * Permission is hereby granted, free of charge, to any person obtaining a |
| 5 | * copy of this software and associated documentation files (the "Software"), |
| 6 | * to deal in the Software without restriction, including without limitation |
| 7 | * the rights to use, copy, modify, merge, publish, distribute, sublicense, |
| 8 | * and/or sell copies of the Software, and to permit persons to whom the |
| 9 | * Software is furnished to do so, subject to the following conditions: |
| 10 | * |
| 11 | * The above copyright notice and this permission notice shall be included in |
| 12 | * all copies or substantial portions of the Software. |
| 13 | * |
| 14 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
| 15 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
| 16 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL |
| 17 | * THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR |
| 18 | * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, |
| 19 | * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR |
| 20 | * OTHER DEALINGS IN THE SOFTWARE. |
| 21 | */ |
| 22 | /* based on stg/asic_reg/drivers/inc/asic_reg/ObjectID.h ver 23 */ |
| 23 | |
| 24 | #ifndef _OBJECTID_H |
| 25 | #define _OBJECTID_H |
| 26 | |
| 27 | #if defined(_X86_) |
| 28 | #pragma pack(1) |
| 29 | #endif |
| 30 | |
| 31 | /****************************************************/ |
| 32 | /* Graphics Object Type Definition */ |
| 33 | /****************************************************/ |
| 34 | #define GRAPH_OBJECT_TYPE_NONE 0x0 |
| 35 | #define GRAPH_OBJECT_TYPE_GPU 0x1 |
| 36 | #define GRAPH_OBJECT_TYPE_ENCODER 0x2 |
| 37 | #define GRAPH_OBJECT_TYPE_CONNECTOR 0x3 |
| 38 | #define GRAPH_OBJECT_TYPE_ROUTER 0x4 |
| 39 | /* deleted */ |
Alex Deucher | 5d68e50 | 2010-11-22 17:56:19 -0500 | [diff] [blame] | 40 | #define GRAPH_OBJECT_TYPE_DISPLAY_PATH 0x6 |
| 41 | #define GRAPH_OBJECT_TYPE_GENERIC 0x7 |
Jerome Glisse | 771fe6b | 2009-06-05 14:42:42 +0200 | [diff] [blame] | 42 | |
| 43 | /****************************************************/ |
| 44 | /* Encoder Object ID Definition */ |
| 45 | /****************************************************/ |
Alex Deucher | a7bc115 | 2010-01-07 11:35:48 -0500 | [diff] [blame] | 46 | #define ENCODER_OBJECT_ID_NONE 0x00 |
Jerome Glisse | 771fe6b | 2009-06-05 14:42:42 +0200 | [diff] [blame] | 47 | |
| 48 | /* Radeon Class Display Hardware */ |
| 49 | #define ENCODER_OBJECT_ID_INTERNAL_LVDS 0x01 |
| 50 | #define ENCODER_OBJECT_ID_INTERNAL_TMDS1 0x02 |
| 51 | #define ENCODER_OBJECT_ID_INTERNAL_TMDS2 0x03 |
| 52 | #define ENCODER_OBJECT_ID_INTERNAL_DAC1 0x04 |
Alex Deucher | a7bc115 | 2010-01-07 11:35:48 -0500 | [diff] [blame] | 53 | #define ENCODER_OBJECT_ID_INTERNAL_DAC2 0x05 /* TV/CV DAC */ |
Jerome Glisse | 771fe6b | 2009-06-05 14:42:42 +0200 | [diff] [blame] | 54 | #define ENCODER_OBJECT_ID_INTERNAL_SDVOA 0x06 |
| 55 | #define ENCODER_OBJECT_ID_INTERNAL_SDVOB 0x07 |
| 56 | |
| 57 | /* External Third Party Encoders */ |
| 58 | #define ENCODER_OBJECT_ID_SI170B 0x08 |
| 59 | #define ENCODER_OBJECT_ID_CH7303 0x09 |
| 60 | #define ENCODER_OBJECT_ID_CH7301 0x0A |
Alex Deucher | a7bc115 | 2010-01-07 11:35:48 -0500 | [diff] [blame] | 61 | #define ENCODER_OBJECT_ID_INTERNAL_DVO1 0x0B /* This belongs to Radeon Class Display Hardware */ |
Jerome Glisse | 771fe6b | 2009-06-05 14:42:42 +0200 | [diff] [blame] | 62 | #define ENCODER_OBJECT_ID_EXTERNAL_SDVOA 0x0C |
| 63 | #define ENCODER_OBJECT_ID_EXTERNAL_SDVOB 0x0D |
| 64 | #define ENCODER_OBJECT_ID_TITFP513 0x0E |
Alex Deucher | a7bc115 | 2010-01-07 11:35:48 -0500 | [diff] [blame] | 65 | #define ENCODER_OBJECT_ID_INTERNAL_LVTM1 0x0F /* not used for Radeon */ |
Jerome Glisse | 771fe6b | 2009-06-05 14:42:42 +0200 | [diff] [blame] | 66 | #define ENCODER_OBJECT_ID_VT1623 0x10 |
| 67 | #define ENCODER_OBJECT_ID_HDMI_SI1930 0x11 |
| 68 | #define ENCODER_OBJECT_ID_HDMI_INTERNAL 0x12 |
Alex Deucher | 5d68e50 | 2010-11-22 17:56:19 -0500 | [diff] [blame] | 69 | #define ENCODER_OBJECT_ID_ALMOND 0x22 |
| 70 | #define ENCODER_OBJECT_ID_TRAVIS 0x23 |
| 71 | #define ENCODER_OBJECT_ID_NUTMEG 0x22 |
Alex Deucher | b7aa4cd | 2012-07-13 09:39:44 -0400 | [diff] [blame] | 72 | #define ENCODER_OBJECT_ID_HDMI_ANX9805 0x26 |
| 73 | |
Jerome Glisse | 771fe6b | 2009-06-05 14:42:42 +0200 | [diff] [blame] | 74 | /* Kaleidoscope (KLDSCP) Class Display Hardware (internal) */ |
| 75 | #define ENCODER_OBJECT_ID_INTERNAL_KLDSCP_TMDS1 0x13 |
| 76 | #define ENCODER_OBJECT_ID_INTERNAL_KLDSCP_DVO1 0x14 |
| 77 | #define ENCODER_OBJECT_ID_INTERNAL_KLDSCP_DAC1 0x15 |
Alex Deucher | a7bc115 | 2010-01-07 11:35:48 -0500 | [diff] [blame] | 78 | #define ENCODER_OBJECT_ID_INTERNAL_KLDSCP_DAC2 0x16 /* Shared with CV/TV and CRT */ |
| 79 | #define ENCODER_OBJECT_ID_SI178 0X17 /* External TMDS (dual link, no HDCP.) */ |
| 80 | #define ENCODER_OBJECT_ID_MVPU_FPGA 0x18 /* MVPU FPGA chip */ |
Jerome Glisse | 771fe6b | 2009-06-05 14:42:42 +0200 | [diff] [blame] | 81 | #define ENCODER_OBJECT_ID_INTERNAL_DDI 0x19 |
| 82 | #define ENCODER_OBJECT_ID_VT1625 0x1A |
| 83 | #define ENCODER_OBJECT_ID_HDMI_SI1932 0x1B |
| 84 | #define ENCODER_OBJECT_ID_DP_AN9801 0x1C |
| 85 | #define ENCODER_OBJECT_ID_DP_DP501 0x1D |
| 86 | #define ENCODER_OBJECT_ID_INTERNAL_UNIPHY 0x1E |
| 87 | #define ENCODER_OBJECT_ID_INTERNAL_KLDSCP_LVTMA 0x1F |
| 88 | #define ENCODER_OBJECT_ID_INTERNAL_UNIPHY1 0x20 |
| 89 | #define ENCODER_OBJECT_ID_INTERNAL_UNIPHY2 0x21 |
Alex Deucher | c67d850 | 2012-03-20 17:17:56 -0400 | [diff] [blame] | 90 | #define ENCODER_OBJECT_ID_INTERNAL_VCE 0x24 |
Alex Deucher | b7aa4cd | 2012-07-13 09:39:44 -0400 | [diff] [blame] | 91 | #define ENCODER_OBJECT_ID_INTERNAL_UNIPHY3 0x25 |
| 92 | #define ENCODER_OBJECT_ID_INTERNAL_AMCLK 0x27 |
Jerome Glisse | 771fe6b | 2009-06-05 14:42:42 +0200 | [diff] [blame] | 93 | |
| 94 | #define ENCODER_OBJECT_ID_GENERAL_EXTERNAL_DVO 0xFF |
| 95 | |
| 96 | /****************************************************/ |
| 97 | /* Connector Object ID Definition */ |
| 98 | /****************************************************/ |
Alex Deucher | a7bc115 | 2010-01-07 11:35:48 -0500 | [diff] [blame] | 99 | #define CONNECTOR_OBJECT_ID_NONE 0x00 |
Jerome Glisse | 771fe6b | 2009-06-05 14:42:42 +0200 | [diff] [blame] | 100 | #define CONNECTOR_OBJECT_ID_SINGLE_LINK_DVI_I 0x01 |
| 101 | #define CONNECTOR_OBJECT_ID_DUAL_LINK_DVI_I 0x02 |
| 102 | #define CONNECTOR_OBJECT_ID_SINGLE_LINK_DVI_D 0x03 |
| 103 | #define CONNECTOR_OBJECT_ID_DUAL_LINK_DVI_D 0x04 |
| 104 | #define CONNECTOR_OBJECT_ID_VGA 0x05 |
| 105 | #define CONNECTOR_OBJECT_ID_COMPOSITE 0x06 |
| 106 | #define CONNECTOR_OBJECT_ID_SVIDEO 0x07 |
| 107 | #define CONNECTOR_OBJECT_ID_YPbPr 0x08 |
| 108 | #define CONNECTOR_OBJECT_ID_D_CONNECTOR 0x09 |
Alex Deucher | a7bc115 | 2010-01-07 11:35:48 -0500 | [diff] [blame] | 109 | #define CONNECTOR_OBJECT_ID_9PIN_DIN 0x0A /* Supports both CV & TV */ |
Jerome Glisse | 771fe6b | 2009-06-05 14:42:42 +0200 | [diff] [blame] | 110 | #define CONNECTOR_OBJECT_ID_SCART 0x0B |
| 111 | #define CONNECTOR_OBJECT_ID_HDMI_TYPE_A 0x0C |
| 112 | #define CONNECTOR_OBJECT_ID_HDMI_TYPE_B 0x0D |
| 113 | #define CONNECTOR_OBJECT_ID_LVDS 0x0E |
| 114 | #define CONNECTOR_OBJECT_ID_7PIN_DIN 0x0F |
| 115 | #define CONNECTOR_OBJECT_ID_PCIE_CONNECTOR 0x10 |
| 116 | #define CONNECTOR_OBJECT_ID_CROSSFIRE 0x11 |
| 117 | #define CONNECTOR_OBJECT_ID_HARDCODE_DVI 0x12 |
| 118 | #define CONNECTOR_OBJECT_ID_DISPLAYPORT 0x13 |
Alex Deucher | f0f480a | 2010-01-07 11:39:07 -0500 | [diff] [blame] | 119 | #define CONNECTOR_OBJECT_ID_eDP 0x14 |
| 120 | #define CONNECTOR_OBJECT_ID_MXM 0x15 |
Alex Deucher | 5d68e50 | 2010-11-22 17:56:19 -0500 | [diff] [blame] | 121 | #define CONNECTOR_OBJECT_ID_LVDS_eDP 0x16 |
Jerome Glisse | 771fe6b | 2009-06-05 14:42:42 +0200 | [diff] [blame] | 122 | |
| 123 | /* deleted */ |
| 124 | |
| 125 | /****************************************************/ |
| 126 | /* Router Object ID Definition */ |
| 127 | /****************************************************/ |
| 128 | #define ROUTER_OBJECT_ID_NONE 0x00 |
| 129 | #define ROUTER_OBJECT_ID_I2C_EXTENDER_CNTL 0x01 |
| 130 | |
| 131 | /****************************************************/ |
Alex Deucher | f0f480a | 2010-01-07 11:39:07 -0500 | [diff] [blame] | 132 | /* Generic Object ID Definition */ |
| 133 | /****************************************************/ |
| 134 | #define GENERIC_OBJECT_ID_NONE 0x00 |
| 135 | #define GENERIC_OBJECT_ID_GLSYNC 0x01 |
| 136 | #define GENERIC_OBJECT_ID_PX2_NON_DRIVABLE 0x02 |
| 137 | #define GENERIC_OBJECT_ID_MXM_OPM 0x03 |
Alex Deucher | 5d68e50 | 2010-11-22 17:56:19 -0500 | [diff] [blame] | 138 | #define GENERIC_OBJECT_ID_STEREO_PIN 0x04 //This object could show up from Misc Object table, it follows ATOM_OBJECT format, and contains one ATOM_OBJECT_GPIO_CNTL_RECORD for the stereo pin |
Alex Deucher | f0f480a | 2010-01-07 11:39:07 -0500 | [diff] [blame] | 139 | |
| 140 | /****************************************************/ |
| 141 | /* Graphics Object ENUM ID Definition */ |
Jerome Glisse | 771fe6b | 2009-06-05 14:42:42 +0200 | [diff] [blame] | 142 | /****************************************************/ |
| 143 | #define GRAPH_OBJECT_ENUM_ID1 0x01 |
| 144 | #define GRAPH_OBJECT_ENUM_ID2 0x02 |
| 145 | #define GRAPH_OBJECT_ENUM_ID3 0x03 |
| 146 | #define GRAPH_OBJECT_ENUM_ID4 0x04 |
| 147 | #define GRAPH_OBJECT_ENUM_ID5 0x05 |
| 148 | #define GRAPH_OBJECT_ENUM_ID6 0x06 |
Alex Deucher | f0f480a | 2010-01-07 11:39:07 -0500 | [diff] [blame] | 149 | #define GRAPH_OBJECT_ENUM_ID7 0x07 |
Jerome Glisse | 771fe6b | 2009-06-05 14:42:42 +0200 | [diff] [blame] | 150 | |
| 151 | /****************************************************/ |
| 152 | /* Graphics Object ID Bit definition */ |
| 153 | /****************************************************/ |
| 154 | #define OBJECT_ID_MASK 0x00FF |
| 155 | #define ENUM_ID_MASK 0x0700 |
| 156 | #define RESERVED1_ID_MASK 0x0800 |
| 157 | #define OBJECT_TYPE_MASK 0x7000 |
| 158 | #define RESERVED2_ID_MASK 0x8000 |
Alex Deucher | a7bc115 | 2010-01-07 11:35:48 -0500 | [diff] [blame] | 159 | |
Jerome Glisse | 771fe6b | 2009-06-05 14:42:42 +0200 | [diff] [blame] | 160 | #define OBJECT_ID_SHIFT 0x00 |
| 161 | #define ENUM_ID_SHIFT 0x08 |
| 162 | #define OBJECT_TYPE_SHIFT 0x0C |
| 163 | |
Alex Deucher | a7bc115 | 2010-01-07 11:35:48 -0500 | [diff] [blame] | 164 | |
Jerome Glisse | 771fe6b | 2009-06-05 14:42:42 +0200 | [diff] [blame] | 165 | /****************************************************/ |
| 166 | /* Graphics Object family definition */ |
| 167 | /****************************************************/ |
Alex Deucher | a7bc115 | 2010-01-07 11:35:48 -0500 | [diff] [blame] | 168 | #define CONSTRUCTOBJECTFAMILYID(GRAPHICS_OBJECT_TYPE, GRAPHICS_OBJECT_ID) (GRAPHICS_OBJECT_TYPE << OBJECT_TYPE_SHIFT | \ |
| 169 | GRAPHICS_OBJECT_ID << OBJECT_ID_SHIFT) |
Jerome Glisse | 771fe6b | 2009-06-05 14:42:42 +0200 | [diff] [blame] | 170 | /****************************************************/ |
| 171 | /* GPU Object ID definition - Shared with BIOS */ |
| 172 | /****************************************************/ |
Alex Deucher | a7bc115 | 2010-01-07 11:35:48 -0500 | [diff] [blame] | 173 | #define GPU_ENUM_ID1 ( GRAPH_OBJECT_TYPE_GPU << OBJECT_TYPE_SHIFT |\ |
| 174 | GRAPH_OBJECT_ENUM_ID1 << ENUM_ID_SHIFT) |
Jerome Glisse | 771fe6b | 2009-06-05 14:42:42 +0200 | [diff] [blame] | 175 | |
| 176 | /****************************************************/ |
| 177 | /* Encoder Object ID definition - Shared with BIOS */ |
| 178 | /****************************************************/ |
| 179 | /* |
Alex Deucher | a7bc115 | 2010-01-07 11:35:48 -0500 | [diff] [blame] | 180 | #define ENCODER_INTERNAL_LVDS_ENUM_ID1 0x2101 |
Jerome Glisse | 771fe6b | 2009-06-05 14:42:42 +0200 | [diff] [blame] | 181 | #define ENCODER_INTERNAL_TMDS1_ENUM_ID1 0x2102 |
| 182 | #define ENCODER_INTERNAL_TMDS2_ENUM_ID1 0x2103 |
| 183 | #define ENCODER_INTERNAL_DAC1_ENUM_ID1 0x2104 |
| 184 | #define ENCODER_INTERNAL_DAC2_ENUM_ID1 0x2105 |
| 185 | #define ENCODER_INTERNAL_SDVOA_ENUM_ID1 0x2106 |
| 186 | #define ENCODER_INTERNAL_SDVOB_ENUM_ID1 0x2107 |
Alex Deucher | a7bc115 | 2010-01-07 11:35:48 -0500 | [diff] [blame] | 187 | #define ENCODER_SIL170B_ENUM_ID1 0x2108 |
Jerome Glisse | 771fe6b | 2009-06-05 14:42:42 +0200 | [diff] [blame] | 188 | #define ENCODER_CH7303_ENUM_ID1 0x2109 |
| 189 | #define ENCODER_CH7301_ENUM_ID1 0x210A |
| 190 | #define ENCODER_INTERNAL_DVO1_ENUM_ID1 0x210B |
| 191 | #define ENCODER_EXTERNAL_SDVOA_ENUM_ID1 0x210C |
| 192 | #define ENCODER_EXTERNAL_SDVOB_ENUM_ID1 0x210D |
| 193 | #define ENCODER_TITFP513_ENUM_ID1 0x210E |
| 194 | #define ENCODER_INTERNAL_LVTM1_ENUM_ID1 0x210F |
| 195 | #define ENCODER_VT1623_ENUM_ID1 0x2110 |
| 196 | #define ENCODER_HDMI_SI1930_ENUM_ID1 0x2111 |
| 197 | #define ENCODER_HDMI_INTERNAL_ENUM_ID1 0x2112 |
| 198 | #define ENCODER_INTERNAL_KLDSCP_TMDS1_ENUM_ID1 0x2113 |
| 199 | #define ENCODER_INTERNAL_KLDSCP_DVO1_ENUM_ID1 0x2114 |
| 200 | #define ENCODER_INTERNAL_KLDSCP_DAC1_ENUM_ID1 0x2115 |
Alex Deucher | a7bc115 | 2010-01-07 11:35:48 -0500 | [diff] [blame] | 201 | #define ENCODER_INTERNAL_KLDSCP_DAC2_ENUM_ID1 0x2116 |
| 202 | #define ENCODER_SI178_ENUM_ID1 0x2117 |
Jerome Glisse | 771fe6b | 2009-06-05 14:42:42 +0200 | [diff] [blame] | 203 | #define ENCODER_MVPU_FPGA_ENUM_ID1 0x2118 |
| 204 | #define ENCODER_INTERNAL_DDI_ENUM_ID1 0x2119 |
| 205 | #define ENCODER_VT1625_ENUM_ID1 0x211A |
| 206 | #define ENCODER_HDMI_SI1932_ENUM_ID1 0x211B |
| 207 | #define ENCODER_ENCODER_DP_AN9801_ENUM_ID1 0x211C |
| 208 | #define ENCODER_DP_DP501_ENUM_ID1 0x211D |
| 209 | #define ENCODER_INTERNAL_UNIPHY_ENUM_ID1 0x211E |
| 210 | */ |
Alex Deucher | a7bc115 | 2010-01-07 11:35:48 -0500 | [diff] [blame] | 211 | #define ENCODER_INTERNAL_LVDS_ENUM_ID1 ( GRAPH_OBJECT_TYPE_ENCODER << OBJECT_TYPE_SHIFT |\ |
| 212 | GRAPH_OBJECT_ENUM_ID1 << ENUM_ID_SHIFT |\ |
| 213 | ENCODER_OBJECT_ID_INTERNAL_LVDS << OBJECT_ID_SHIFT) |
Jerome Glisse | 771fe6b | 2009-06-05 14:42:42 +0200 | [diff] [blame] | 214 | |
Alex Deucher | a7bc115 | 2010-01-07 11:35:48 -0500 | [diff] [blame] | 215 | #define ENCODER_INTERNAL_TMDS1_ENUM_ID1 ( GRAPH_OBJECT_TYPE_ENCODER << OBJECT_TYPE_SHIFT |\ |
| 216 | GRAPH_OBJECT_ENUM_ID1 << ENUM_ID_SHIFT |\ |
| 217 | ENCODER_OBJECT_ID_INTERNAL_TMDS1 << OBJECT_ID_SHIFT) |
Jerome Glisse | 771fe6b | 2009-06-05 14:42:42 +0200 | [diff] [blame] | 218 | |
Alex Deucher | a7bc115 | 2010-01-07 11:35:48 -0500 | [diff] [blame] | 219 | #define ENCODER_INTERNAL_TMDS2_ENUM_ID1 ( GRAPH_OBJECT_TYPE_ENCODER << OBJECT_TYPE_SHIFT |\ |
| 220 | GRAPH_OBJECT_ENUM_ID1 << ENUM_ID_SHIFT |\ |
| 221 | ENCODER_OBJECT_ID_INTERNAL_TMDS2 << OBJECT_ID_SHIFT) |
Jerome Glisse | 771fe6b | 2009-06-05 14:42:42 +0200 | [diff] [blame] | 222 | |
Alex Deucher | a7bc115 | 2010-01-07 11:35:48 -0500 | [diff] [blame] | 223 | #define ENCODER_INTERNAL_DAC1_ENUM_ID1 ( GRAPH_OBJECT_TYPE_ENCODER << OBJECT_TYPE_SHIFT |\ |
| 224 | GRAPH_OBJECT_ENUM_ID1 << ENUM_ID_SHIFT |\ |
| 225 | ENCODER_OBJECT_ID_INTERNAL_DAC1 << OBJECT_ID_SHIFT) |
Jerome Glisse | 771fe6b | 2009-06-05 14:42:42 +0200 | [diff] [blame] | 226 | |
Alex Deucher | a7bc115 | 2010-01-07 11:35:48 -0500 | [diff] [blame] | 227 | #define ENCODER_INTERNAL_DAC2_ENUM_ID1 ( GRAPH_OBJECT_TYPE_ENCODER << OBJECT_TYPE_SHIFT |\ |
| 228 | GRAPH_OBJECT_ENUM_ID1 << ENUM_ID_SHIFT |\ |
| 229 | ENCODER_OBJECT_ID_INTERNAL_DAC2 << OBJECT_ID_SHIFT) |
Jerome Glisse | 771fe6b | 2009-06-05 14:42:42 +0200 | [diff] [blame] | 230 | |
Alex Deucher | a7bc115 | 2010-01-07 11:35:48 -0500 | [diff] [blame] | 231 | #define ENCODER_INTERNAL_SDVOA_ENUM_ID1 ( GRAPH_OBJECT_TYPE_ENCODER << OBJECT_TYPE_SHIFT |\ |
| 232 | GRAPH_OBJECT_ENUM_ID1 << ENUM_ID_SHIFT |\ |
| 233 | ENCODER_OBJECT_ID_INTERNAL_SDVOA << OBJECT_ID_SHIFT) |
Jerome Glisse | 771fe6b | 2009-06-05 14:42:42 +0200 | [diff] [blame] | 234 | |
Alex Deucher | a7bc115 | 2010-01-07 11:35:48 -0500 | [diff] [blame] | 235 | #define ENCODER_INTERNAL_SDVOA_ENUM_ID2 ( GRAPH_OBJECT_TYPE_ENCODER << OBJECT_TYPE_SHIFT |\ |
| 236 | GRAPH_OBJECT_ENUM_ID2 << ENUM_ID_SHIFT |\ |
| 237 | ENCODER_OBJECT_ID_INTERNAL_SDVOA << OBJECT_ID_SHIFT) |
Jerome Glisse | 771fe6b | 2009-06-05 14:42:42 +0200 | [diff] [blame] | 238 | |
Alex Deucher | a7bc115 | 2010-01-07 11:35:48 -0500 | [diff] [blame] | 239 | #define ENCODER_INTERNAL_SDVOB_ENUM_ID1 ( GRAPH_OBJECT_TYPE_ENCODER << OBJECT_TYPE_SHIFT |\ |
| 240 | GRAPH_OBJECT_ENUM_ID1 << ENUM_ID_SHIFT |\ |
| 241 | ENCODER_OBJECT_ID_INTERNAL_SDVOB << OBJECT_ID_SHIFT) |
Jerome Glisse | 771fe6b | 2009-06-05 14:42:42 +0200 | [diff] [blame] | 242 | |
Alex Deucher | a7bc115 | 2010-01-07 11:35:48 -0500 | [diff] [blame] | 243 | #define ENCODER_SIL170B_ENUM_ID1 ( GRAPH_OBJECT_TYPE_ENCODER << OBJECT_TYPE_SHIFT |\ |
| 244 | GRAPH_OBJECT_ENUM_ID1 << ENUM_ID_SHIFT |\ |
| 245 | ENCODER_OBJECT_ID_SI170B << OBJECT_ID_SHIFT) |
Jerome Glisse | 771fe6b | 2009-06-05 14:42:42 +0200 | [diff] [blame] | 246 | |
Alex Deucher | a7bc115 | 2010-01-07 11:35:48 -0500 | [diff] [blame] | 247 | #define ENCODER_CH7303_ENUM_ID1 ( GRAPH_OBJECT_TYPE_ENCODER << OBJECT_TYPE_SHIFT |\ |
| 248 | GRAPH_OBJECT_ENUM_ID1 << ENUM_ID_SHIFT |\ |
| 249 | ENCODER_OBJECT_ID_CH7303 << OBJECT_ID_SHIFT) |
Jerome Glisse | 771fe6b | 2009-06-05 14:42:42 +0200 | [diff] [blame] | 250 | |
Alex Deucher | a7bc115 | 2010-01-07 11:35:48 -0500 | [diff] [blame] | 251 | #define ENCODER_CH7301_ENUM_ID1 ( GRAPH_OBJECT_TYPE_ENCODER << OBJECT_TYPE_SHIFT |\ |
| 252 | GRAPH_OBJECT_ENUM_ID1 << ENUM_ID_SHIFT |\ |
| 253 | ENCODER_OBJECT_ID_CH7301 << OBJECT_ID_SHIFT) |
Jerome Glisse | 771fe6b | 2009-06-05 14:42:42 +0200 | [diff] [blame] | 254 | |
Alex Deucher | a7bc115 | 2010-01-07 11:35:48 -0500 | [diff] [blame] | 255 | #define ENCODER_INTERNAL_DVO1_ENUM_ID1 ( GRAPH_OBJECT_TYPE_ENCODER << OBJECT_TYPE_SHIFT |\ |
| 256 | GRAPH_OBJECT_ENUM_ID1 << ENUM_ID_SHIFT |\ |
| 257 | ENCODER_OBJECT_ID_INTERNAL_DVO1 << OBJECT_ID_SHIFT) |
Jerome Glisse | 771fe6b | 2009-06-05 14:42:42 +0200 | [diff] [blame] | 258 | |
Alex Deucher | a7bc115 | 2010-01-07 11:35:48 -0500 | [diff] [blame] | 259 | #define ENCODER_EXTERNAL_SDVOA_ENUM_ID1 ( GRAPH_OBJECT_TYPE_ENCODER << OBJECT_TYPE_SHIFT |\ |
| 260 | GRAPH_OBJECT_ENUM_ID1 << ENUM_ID_SHIFT |\ |
| 261 | ENCODER_OBJECT_ID_EXTERNAL_SDVOA << OBJECT_ID_SHIFT) |
Jerome Glisse | 771fe6b | 2009-06-05 14:42:42 +0200 | [diff] [blame] | 262 | |
Alex Deucher | a7bc115 | 2010-01-07 11:35:48 -0500 | [diff] [blame] | 263 | #define ENCODER_EXTERNAL_SDVOA_ENUM_ID2 ( GRAPH_OBJECT_TYPE_ENCODER << OBJECT_TYPE_SHIFT |\ |
| 264 | GRAPH_OBJECT_ENUM_ID2 << ENUM_ID_SHIFT |\ |
| 265 | ENCODER_OBJECT_ID_EXTERNAL_SDVOA << OBJECT_ID_SHIFT) |
Jerome Glisse | 771fe6b | 2009-06-05 14:42:42 +0200 | [diff] [blame] | 266 | |
Jerome Glisse | 771fe6b | 2009-06-05 14:42:42 +0200 | [diff] [blame] | 267 | |
Alex Deucher | a7bc115 | 2010-01-07 11:35:48 -0500 | [diff] [blame] | 268 | #define ENCODER_EXTERNAL_SDVOB_ENUM_ID1 ( GRAPH_OBJECT_TYPE_ENCODER << OBJECT_TYPE_SHIFT |\ |
| 269 | GRAPH_OBJECT_ENUM_ID1 << ENUM_ID_SHIFT |\ |
| 270 | ENCODER_OBJECT_ID_EXTERNAL_SDVOB << OBJECT_ID_SHIFT) |
Jerome Glisse | 771fe6b | 2009-06-05 14:42:42 +0200 | [diff] [blame] | 271 | |
Jerome Glisse | 771fe6b | 2009-06-05 14:42:42 +0200 | [diff] [blame] | 272 | |
Alex Deucher | a7bc115 | 2010-01-07 11:35:48 -0500 | [diff] [blame] | 273 | #define ENCODER_TITFP513_ENUM_ID1 ( GRAPH_OBJECT_TYPE_ENCODER << OBJECT_TYPE_SHIFT |\ |
| 274 | GRAPH_OBJECT_ENUM_ID1 << ENUM_ID_SHIFT |\ |
| 275 | ENCODER_OBJECT_ID_TITFP513 << OBJECT_ID_SHIFT) |
Jerome Glisse | 771fe6b | 2009-06-05 14:42:42 +0200 | [diff] [blame] | 276 | |
Alex Deucher | a7bc115 | 2010-01-07 11:35:48 -0500 | [diff] [blame] | 277 | #define ENCODER_INTERNAL_LVTM1_ENUM_ID1 ( GRAPH_OBJECT_TYPE_ENCODER << OBJECT_TYPE_SHIFT |\ |
| 278 | GRAPH_OBJECT_ENUM_ID1 << ENUM_ID_SHIFT |\ |
| 279 | ENCODER_OBJECT_ID_INTERNAL_LVTM1 << OBJECT_ID_SHIFT) |
Jerome Glisse | 771fe6b | 2009-06-05 14:42:42 +0200 | [diff] [blame] | 280 | |
Alex Deucher | a7bc115 | 2010-01-07 11:35:48 -0500 | [diff] [blame] | 281 | #define ENCODER_VT1623_ENUM_ID1 ( GRAPH_OBJECT_TYPE_ENCODER << OBJECT_TYPE_SHIFT |\ |
| 282 | GRAPH_OBJECT_ENUM_ID1 << ENUM_ID_SHIFT |\ |
| 283 | ENCODER_OBJECT_ID_VT1623 << OBJECT_ID_SHIFT) |
Jerome Glisse | 771fe6b | 2009-06-05 14:42:42 +0200 | [diff] [blame] | 284 | |
Alex Deucher | a7bc115 | 2010-01-07 11:35:48 -0500 | [diff] [blame] | 285 | #define ENCODER_HDMI_SI1930_ENUM_ID1 ( GRAPH_OBJECT_TYPE_ENCODER << OBJECT_TYPE_SHIFT |\ |
| 286 | GRAPH_OBJECT_ENUM_ID1 << ENUM_ID_SHIFT |\ |
| 287 | ENCODER_OBJECT_ID_HDMI_SI1930 << OBJECT_ID_SHIFT) |
Jerome Glisse | 771fe6b | 2009-06-05 14:42:42 +0200 | [diff] [blame] | 288 | |
Alex Deucher | a7bc115 | 2010-01-07 11:35:48 -0500 | [diff] [blame] | 289 | #define ENCODER_HDMI_INTERNAL_ENUM_ID1 ( GRAPH_OBJECT_TYPE_ENCODER << OBJECT_TYPE_SHIFT |\ |
| 290 | GRAPH_OBJECT_ENUM_ID1 << ENUM_ID_SHIFT |\ |
| 291 | ENCODER_OBJECT_ID_HDMI_INTERNAL << OBJECT_ID_SHIFT) |
Jerome Glisse | 771fe6b | 2009-06-05 14:42:42 +0200 | [diff] [blame] | 292 | |
Alex Deucher | a7bc115 | 2010-01-07 11:35:48 -0500 | [diff] [blame] | 293 | #define ENCODER_INTERNAL_KLDSCP_TMDS1_ENUM_ID1 ( GRAPH_OBJECT_TYPE_ENCODER << OBJECT_TYPE_SHIFT |\ |
| 294 | GRAPH_OBJECT_ENUM_ID1 << ENUM_ID_SHIFT |\ |
| 295 | ENCODER_OBJECT_ID_INTERNAL_KLDSCP_TMDS1 << OBJECT_ID_SHIFT) |
Jerome Glisse | 771fe6b | 2009-06-05 14:42:42 +0200 | [diff] [blame] | 296 | |
Jerome Glisse | 771fe6b | 2009-06-05 14:42:42 +0200 | [diff] [blame] | 297 | |
Alex Deucher | a7bc115 | 2010-01-07 11:35:48 -0500 | [diff] [blame] | 298 | #define ENCODER_INTERNAL_KLDSCP_TMDS1_ENUM_ID2 ( GRAPH_OBJECT_TYPE_ENCODER << OBJECT_TYPE_SHIFT |\ |
| 299 | GRAPH_OBJECT_ENUM_ID2 << ENUM_ID_SHIFT |\ |
| 300 | ENCODER_OBJECT_ID_INTERNAL_KLDSCP_TMDS1 << OBJECT_ID_SHIFT) |
Jerome Glisse | 771fe6b | 2009-06-05 14:42:42 +0200 | [diff] [blame] | 301 | |
Jerome Glisse | 771fe6b | 2009-06-05 14:42:42 +0200 | [diff] [blame] | 302 | |
Alex Deucher | a7bc115 | 2010-01-07 11:35:48 -0500 | [diff] [blame] | 303 | #define ENCODER_INTERNAL_KLDSCP_DVO1_ENUM_ID1 ( GRAPH_OBJECT_TYPE_ENCODER << OBJECT_TYPE_SHIFT |\ |
| 304 | GRAPH_OBJECT_ENUM_ID1 << ENUM_ID_SHIFT |\ |
| 305 | ENCODER_OBJECT_ID_INTERNAL_KLDSCP_DVO1 << OBJECT_ID_SHIFT) |
Jerome Glisse | 771fe6b | 2009-06-05 14:42:42 +0200 | [diff] [blame] | 306 | |
Alex Deucher | a7bc115 | 2010-01-07 11:35:48 -0500 | [diff] [blame] | 307 | #define ENCODER_INTERNAL_KLDSCP_DAC1_ENUM_ID1 ( GRAPH_OBJECT_TYPE_ENCODER << OBJECT_TYPE_SHIFT |\ |
| 308 | GRAPH_OBJECT_ENUM_ID1 << ENUM_ID_SHIFT |\ |
| 309 | ENCODER_OBJECT_ID_INTERNAL_KLDSCP_DAC1 << OBJECT_ID_SHIFT) |
Jerome Glisse | 771fe6b | 2009-06-05 14:42:42 +0200 | [diff] [blame] | 310 | |
Alex Deucher | a7bc115 | 2010-01-07 11:35:48 -0500 | [diff] [blame] | 311 | #define ENCODER_INTERNAL_KLDSCP_DAC2_ENUM_ID1 ( GRAPH_OBJECT_TYPE_ENCODER << OBJECT_TYPE_SHIFT |\ |
| 312 | GRAPH_OBJECT_ENUM_ID1 << ENUM_ID_SHIFT |\ |
| 313 | ENCODER_OBJECT_ID_INTERNAL_KLDSCP_DAC2 << OBJECT_ID_SHIFT) // Shared with CV/TV and CRT |
Jerome Glisse | 771fe6b | 2009-06-05 14:42:42 +0200 | [diff] [blame] | 314 | |
Alex Deucher | a7bc115 | 2010-01-07 11:35:48 -0500 | [diff] [blame] | 315 | #define ENCODER_SI178_ENUM_ID1 ( GRAPH_OBJECT_TYPE_ENCODER << OBJECT_TYPE_SHIFT |\ |
| 316 | GRAPH_OBJECT_ENUM_ID1 << ENUM_ID_SHIFT |\ |
| 317 | ENCODER_OBJECT_ID_SI178 << OBJECT_ID_SHIFT) |
Jerome Glisse | 771fe6b | 2009-06-05 14:42:42 +0200 | [diff] [blame] | 318 | |
Alex Deucher | a7bc115 | 2010-01-07 11:35:48 -0500 | [diff] [blame] | 319 | #define ENCODER_MVPU_FPGA_ENUM_ID1 ( GRAPH_OBJECT_TYPE_ENCODER << OBJECT_TYPE_SHIFT |\ |
| 320 | GRAPH_OBJECT_ENUM_ID1 << ENUM_ID_SHIFT |\ |
| 321 | ENCODER_OBJECT_ID_MVPU_FPGA << OBJECT_ID_SHIFT) |
Jerome Glisse | 771fe6b | 2009-06-05 14:42:42 +0200 | [diff] [blame] | 322 | |
Alex Deucher | a7bc115 | 2010-01-07 11:35:48 -0500 | [diff] [blame] | 323 | #define ENCODER_INTERNAL_DDI_ENUM_ID1 ( GRAPH_OBJECT_TYPE_ENCODER << OBJECT_TYPE_SHIFT |\ |
| 324 | GRAPH_OBJECT_ENUM_ID1 << ENUM_ID_SHIFT |\ |
| 325 | ENCODER_OBJECT_ID_INTERNAL_DDI << OBJECT_ID_SHIFT) |
Jerome Glisse | 771fe6b | 2009-06-05 14:42:42 +0200 | [diff] [blame] | 326 | |
Alex Deucher | a7bc115 | 2010-01-07 11:35:48 -0500 | [diff] [blame] | 327 | #define ENCODER_VT1625_ENUM_ID1 ( GRAPH_OBJECT_TYPE_ENCODER << OBJECT_TYPE_SHIFT |\ |
| 328 | GRAPH_OBJECT_ENUM_ID1 << ENUM_ID_SHIFT |\ |
| 329 | ENCODER_OBJECT_ID_VT1625 << OBJECT_ID_SHIFT) |
Jerome Glisse | 771fe6b | 2009-06-05 14:42:42 +0200 | [diff] [blame] | 330 | |
Alex Deucher | a7bc115 | 2010-01-07 11:35:48 -0500 | [diff] [blame] | 331 | #define ENCODER_HDMI_SI1932_ENUM_ID1 ( GRAPH_OBJECT_TYPE_ENCODER << OBJECT_TYPE_SHIFT |\ |
| 332 | GRAPH_OBJECT_ENUM_ID1 << ENUM_ID_SHIFT |\ |
| 333 | ENCODER_OBJECT_ID_HDMI_SI1932 << OBJECT_ID_SHIFT) |
Jerome Glisse | 771fe6b | 2009-06-05 14:42:42 +0200 | [diff] [blame] | 334 | |
Alex Deucher | a7bc115 | 2010-01-07 11:35:48 -0500 | [diff] [blame] | 335 | #define ENCODER_DP_DP501_ENUM_ID1 ( GRAPH_OBJECT_TYPE_ENCODER << OBJECT_TYPE_SHIFT |\ |
| 336 | GRAPH_OBJECT_ENUM_ID1 << ENUM_ID_SHIFT |\ |
| 337 | ENCODER_OBJECT_ID_DP_DP501 << OBJECT_ID_SHIFT) |
Jerome Glisse | 771fe6b | 2009-06-05 14:42:42 +0200 | [diff] [blame] | 338 | |
Alex Deucher | a7bc115 | 2010-01-07 11:35:48 -0500 | [diff] [blame] | 339 | #define ENCODER_DP_AN9801_ENUM_ID1 ( GRAPH_OBJECT_TYPE_ENCODER << OBJECT_TYPE_SHIFT |\ |
| 340 | GRAPH_OBJECT_ENUM_ID1 << ENUM_ID_SHIFT |\ |
| 341 | ENCODER_OBJECT_ID_DP_AN9801 << OBJECT_ID_SHIFT) |
Jerome Glisse | 771fe6b | 2009-06-05 14:42:42 +0200 | [diff] [blame] | 342 | |
Alex Deucher | a7bc115 | 2010-01-07 11:35:48 -0500 | [diff] [blame] | 343 | #define ENCODER_INTERNAL_UNIPHY_ENUM_ID1 ( GRAPH_OBJECT_TYPE_ENCODER << OBJECT_TYPE_SHIFT |\ |
| 344 | GRAPH_OBJECT_ENUM_ID1 << ENUM_ID_SHIFT |\ |
| 345 | ENCODER_OBJECT_ID_INTERNAL_UNIPHY << OBJECT_ID_SHIFT) |
Jerome Glisse | 771fe6b | 2009-06-05 14:42:42 +0200 | [diff] [blame] | 346 | |
Alex Deucher | a7bc115 | 2010-01-07 11:35:48 -0500 | [diff] [blame] | 347 | #define ENCODER_INTERNAL_UNIPHY_ENUM_ID2 ( GRAPH_OBJECT_TYPE_ENCODER << OBJECT_TYPE_SHIFT |\ |
| 348 | GRAPH_OBJECT_ENUM_ID2 << ENUM_ID_SHIFT |\ |
| 349 | ENCODER_OBJECT_ID_INTERNAL_UNIPHY << OBJECT_ID_SHIFT) |
Jerome Glisse | 771fe6b | 2009-06-05 14:42:42 +0200 | [diff] [blame] | 350 | |
Alex Deucher | a7bc115 | 2010-01-07 11:35:48 -0500 | [diff] [blame] | 351 | #define ENCODER_INTERNAL_KLDSCP_LVTMA_ENUM_ID1 ( GRAPH_OBJECT_TYPE_ENCODER << OBJECT_TYPE_SHIFT |\ |
| 352 | GRAPH_OBJECT_ENUM_ID1 << ENUM_ID_SHIFT |\ |
| 353 | ENCODER_OBJECT_ID_INTERNAL_KLDSCP_LVTMA << OBJECT_ID_SHIFT) |
Jerome Glisse | 771fe6b | 2009-06-05 14:42:42 +0200 | [diff] [blame] | 354 | |
Alex Deucher | a7bc115 | 2010-01-07 11:35:48 -0500 | [diff] [blame] | 355 | #define ENCODER_INTERNAL_UNIPHY1_ENUM_ID1 ( GRAPH_OBJECT_TYPE_ENCODER << OBJECT_TYPE_SHIFT |\ |
| 356 | GRAPH_OBJECT_ENUM_ID1 << ENUM_ID_SHIFT |\ |
| 357 | ENCODER_OBJECT_ID_INTERNAL_UNIPHY1 << OBJECT_ID_SHIFT) |
| 358 | |
| 359 | #define ENCODER_INTERNAL_UNIPHY1_ENUM_ID2 ( GRAPH_OBJECT_TYPE_ENCODER << OBJECT_TYPE_SHIFT |\ |
| 360 | GRAPH_OBJECT_ENUM_ID2 << ENUM_ID_SHIFT |\ |
| 361 | ENCODER_OBJECT_ID_INTERNAL_UNIPHY1 << OBJECT_ID_SHIFT) |
| 362 | |
| 363 | #define ENCODER_INTERNAL_UNIPHY2_ENUM_ID1 ( GRAPH_OBJECT_TYPE_ENCODER << OBJECT_TYPE_SHIFT |\ |
| 364 | GRAPH_OBJECT_ENUM_ID1 << ENUM_ID_SHIFT |\ |
| 365 | ENCODER_OBJECT_ID_INTERNAL_UNIPHY2 << OBJECT_ID_SHIFT) |
| 366 | |
| 367 | #define ENCODER_INTERNAL_UNIPHY2_ENUM_ID2 ( GRAPH_OBJECT_TYPE_ENCODER << OBJECT_TYPE_SHIFT |\ |
| 368 | GRAPH_OBJECT_ENUM_ID2 << ENUM_ID_SHIFT |\ |
| 369 | ENCODER_OBJECT_ID_INTERNAL_UNIPHY2 << OBJECT_ID_SHIFT) |
| 370 | |
Alex Deucher | b7aa4cd | 2012-07-13 09:39:44 -0400 | [diff] [blame] | 371 | #define ENCODER_INTERNAL_UNIPHY3_ENUM_ID1 ( GRAPH_OBJECT_TYPE_ENCODER << OBJECT_TYPE_SHIFT |\ |
| 372 | GRAPH_OBJECT_ENUM_ID1 << ENUM_ID_SHIFT |\ |
| 373 | ENCODER_OBJECT_ID_INTERNAL_UNIPHY3 << OBJECT_ID_SHIFT) |
| 374 | |
| 375 | #define ENCODER_INTERNAL_UNIPHY3_ENUM_ID2 ( GRAPH_OBJECT_TYPE_ENCODER << OBJECT_TYPE_SHIFT |\ |
| 376 | GRAPH_OBJECT_ENUM_ID2 << ENUM_ID_SHIFT |\ |
| 377 | ENCODER_OBJECT_ID_INTERNAL_UNIPHY3 << OBJECT_ID_SHIFT) |
| 378 | |
Alex Deucher | a7bc115 | 2010-01-07 11:35:48 -0500 | [diff] [blame] | 379 | #define ENCODER_GENERAL_EXTERNAL_DVO_ENUM_ID1 ( GRAPH_OBJECT_TYPE_ENCODER << OBJECT_TYPE_SHIFT |\ |
| 380 | GRAPH_OBJECT_ENUM_ID1 << ENUM_ID_SHIFT |\ |
| 381 | ENCODER_OBJECT_ID_GENERAL_EXTERNAL_DVO << OBJECT_ID_SHIFT) |
Jerome Glisse | 771fe6b | 2009-06-05 14:42:42 +0200 | [diff] [blame] | 382 | |
Alex Deucher | 5d68e50 | 2010-11-22 17:56:19 -0500 | [diff] [blame] | 383 | #define ENCODER_ALMOND_ENUM_ID1 ( GRAPH_OBJECT_TYPE_ENCODER << OBJECT_TYPE_SHIFT |\ |
| 384 | GRAPH_OBJECT_ENUM_ID1 << ENUM_ID_SHIFT |\ |
| 385 | ENCODER_OBJECT_ID_ALMOND << OBJECT_ID_SHIFT) |
| 386 | |
| 387 | #define ENCODER_ALMOND_ENUM_ID2 ( GRAPH_OBJECT_TYPE_ENCODER << OBJECT_TYPE_SHIFT |\ |
| 388 | GRAPH_OBJECT_ENUM_ID2 << ENUM_ID_SHIFT |\ |
| 389 | ENCODER_OBJECT_ID_ALMOND << OBJECT_ID_SHIFT) |
| 390 | |
| 391 | #define ENCODER_TRAVIS_ENUM_ID1 ( GRAPH_OBJECT_TYPE_ENCODER << OBJECT_TYPE_SHIFT |\ |
| 392 | GRAPH_OBJECT_ENUM_ID1 << ENUM_ID_SHIFT |\ |
| 393 | ENCODER_OBJECT_ID_TRAVIS << OBJECT_ID_SHIFT) |
| 394 | |
| 395 | #define ENCODER_TRAVIS_ENUM_ID2 ( GRAPH_OBJECT_TYPE_ENCODER << OBJECT_TYPE_SHIFT |\ |
| 396 | GRAPH_OBJECT_ENUM_ID2 << ENUM_ID_SHIFT |\ |
| 397 | ENCODER_OBJECT_ID_TRAVIS << OBJECT_ID_SHIFT) |
| 398 | |
| 399 | #define ENCODER_NUTMEG_ENUM_ID1 ( GRAPH_OBJECT_TYPE_ENCODER << OBJECT_TYPE_SHIFT |\ |
| 400 | GRAPH_OBJECT_ENUM_ID1 << ENUM_ID_SHIFT |\ |
| 401 | ENCODER_OBJECT_ID_NUTMEG << OBJECT_ID_SHIFT) |
| 402 | |
Alex Deucher | c67d850 | 2012-03-20 17:17:56 -0400 | [diff] [blame] | 403 | #define ENCODER_VCE_ENUM_ID1 ( GRAPH_OBJECT_TYPE_ENCODER << OBJECT_TYPE_SHIFT |\ |
| 404 | GRAPH_OBJECT_ENUM_ID1 << ENUM_ID_SHIFT |\ |
| 405 | ENCODER_OBJECT_ID_INTERNAL_VCE << OBJECT_ID_SHIFT) |
| 406 | |
Alex Deucher | b7aa4cd | 2012-07-13 09:39:44 -0400 | [diff] [blame] | 407 | #define ENCODER_HDMI_ANX9805_ENUM_ID1 ( GRAPH_OBJECT_TYPE_ENCODER << OBJECT_TYPE_SHIFT |\ |
| 408 | GRAPH_OBJECT_ENUM_ID1 << ENUM_ID_SHIFT |\ |
| 409 | ENCODER_OBJECT_ID_HDMI_ANX9805 << OBJECT_ID_SHIFT) |
| 410 | |
Jerome Glisse | 771fe6b | 2009-06-05 14:42:42 +0200 | [diff] [blame] | 411 | /****************************************************/ |
| 412 | /* Connector Object ID definition - Shared with BIOS */ |
| 413 | /****************************************************/ |
| 414 | /* |
| 415 | #define CONNECTOR_SINGLE_LINK_DVI_I_ENUM_ID1 0x3101 |
| 416 | #define CONNECTOR_DUAL_LINK_DVI_I_ENUM_ID1 0x3102 |
| 417 | #define CONNECTOR_SINGLE_LINK_DVI_D_ENUM_ID1 0x3103 |
| 418 | #define CONNECTOR_DUAL_LINK_DVI_D_ENUM_ID1 0x3104 |
| 419 | #define CONNECTOR_VGA_ENUM_ID1 0x3105 |
| 420 | #define CONNECTOR_COMPOSITE_ENUM_ID1 0x3106 |
| 421 | #define CONNECTOR_SVIDEO_ENUM_ID1 0x3107 |
| 422 | #define CONNECTOR_YPbPr_ENUM_ID1 0x3108 |
| 423 | #define CONNECTOR_D_CONNECTORE_ENUM_ID1 0x3109 |
| 424 | #define CONNECTOR_9PIN_DIN_ENUM_ID1 0x310A |
| 425 | #define CONNECTOR_SCART_ENUM_ID1 0x310B |
| 426 | #define CONNECTOR_HDMI_TYPE_A_ENUM_ID1 0x310C |
| 427 | #define CONNECTOR_HDMI_TYPE_B_ENUM_ID1 0x310D |
| 428 | #define CONNECTOR_LVDS_ENUM_ID1 0x310E |
| 429 | #define CONNECTOR_7PIN_DIN_ENUM_ID1 0x310F |
| 430 | #define CONNECTOR_PCIE_CONNECTOR_ENUM_ID1 0x3110 |
| 431 | */ |
Alex Deucher | a7bc115 | 2010-01-07 11:35:48 -0500 | [diff] [blame] | 432 | #define CONNECTOR_LVDS_ENUM_ID1 ( GRAPH_OBJECT_TYPE_CONNECTOR << OBJECT_TYPE_SHIFT |\ |
| 433 | GRAPH_OBJECT_ENUM_ID1 << ENUM_ID_SHIFT |\ |
| 434 | CONNECTOR_OBJECT_ID_LVDS << OBJECT_ID_SHIFT) |
Jerome Glisse | 771fe6b | 2009-06-05 14:42:42 +0200 | [diff] [blame] | 435 | |
Alex Deucher | f0f480a | 2010-01-07 11:39:07 -0500 | [diff] [blame] | 436 | #define CONNECTOR_LVDS_ENUM_ID2 ( GRAPH_OBJECT_TYPE_CONNECTOR << OBJECT_TYPE_SHIFT |\ |
| 437 | GRAPH_OBJECT_ENUM_ID2 << ENUM_ID_SHIFT |\ |
| 438 | CONNECTOR_OBJECT_ID_LVDS << OBJECT_ID_SHIFT) |
| 439 | |
| 440 | #define CONNECTOR_eDP_ENUM_ID1 ( GRAPH_OBJECT_TYPE_CONNECTOR << OBJECT_TYPE_SHIFT |\ |
| 441 | GRAPH_OBJECT_ENUM_ID1 << ENUM_ID_SHIFT |\ |
| 442 | CONNECTOR_OBJECT_ID_eDP << OBJECT_ID_SHIFT) |
| 443 | |
| 444 | #define CONNECTOR_eDP_ENUM_ID2 ( GRAPH_OBJECT_TYPE_CONNECTOR << OBJECT_TYPE_SHIFT |\ |
| 445 | GRAPH_OBJECT_ENUM_ID2 << ENUM_ID_SHIFT |\ |
| 446 | CONNECTOR_OBJECT_ID_eDP << OBJECT_ID_SHIFT) |
| 447 | |
Alex Deucher | a7bc115 | 2010-01-07 11:35:48 -0500 | [diff] [blame] | 448 | #define CONNECTOR_SINGLE_LINK_DVI_I_ENUM_ID1 ( GRAPH_OBJECT_TYPE_CONNECTOR << OBJECT_TYPE_SHIFT |\ |
| 449 | GRAPH_OBJECT_ENUM_ID1 << ENUM_ID_SHIFT |\ |
| 450 | CONNECTOR_OBJECT_ID_SINGLE_LINK_DVI_I << OBJECT_ID_SHIFT) |
Jerome Glisse | 771fe6b | 2009-06-05 14:42:42 +0200 | [diff] [blame] | 451 | |
Alex Deucher | a7bc115 | 2010-01-07 11:35:48 -0500 | [diff] [blame] | 452 | #define CONNECTOR_SINGLE_LINK_DVI_I_ENUM_ID2 ( GRAPH_OBJECT_TYPE_CONNECTOR << OBJECT_TYPE_SHIFT |\ |
| 453 | GRAPH_OBJECT_ENUM_ID2 << ENUM_ID_SHIFT |\ |
| 454 | CONNECTOR_OBJECT_ID_SINGLE_LINK_DVI_I << OBJECT_ID_SHIFT) |
Jerome Glisse | 771fe6b | 2009-06-05 14:42:42 +0200 | [diff] [blame] | 455 | |
Alex Deucher | a7bc115 | 2010-01-07 11:35:48 -0500 | [diff] [blame] | 456 | #define CONNECTOR_DUAL_LINK_DVI_I_ENUM_ID1 ( GRAPH_OBJECT_TYPE_CONNECTOR << OBJECT_TYPE_SHIFT |\ |
| 457 | GRAPH_OBJECT_ENUM_ID1 << ENUM_ID_SHIFT |\ |
| 458 | CONNECTOR_OBJECT_ID_DUAL_LINK_DVI_I << OBJECT_ID_SHIFT) |
Jerome Glisse | 771fe6b | 2009-06-05 14:42:42 +0200 | [diff] [blame] | 459 | |
Alex Deucher | a7bc115 | 2010-01-07 11:35:48 -0500 | [diff] [blame] | 460 | #define CONNECTOR_DUAL_LINK_DVI_I_ENUM_ID2 ( GRAPH_OBJECT_TYPE_CONNECTOR << OBJECT_TYPE_SHIFT |\ |
| 461 | GRAPH_OBJECT_ENUM_ID2 << ENUM_ID_SHIFT |\ |
| 462 | CONNECTOR_OBJECT_ID_DUAL_LINK_DVI_I << OBJECT_ID_SHIFT) |
Jerome Glisse | 771fe6b | 2009-06-05 14:42:42 +0200 | [diff] [blame] | 463 | |
Alex Deucher | a7bc115 | 2010-01-07 11:35:48 -0500 | [diff] [blame] | 464 | #define CONNECTOR_SINGLE_LINK_DVI_D_ENUM_ID1 ( GRAPH_OBJECT_TYPE_CONNECTOR << OBJECT_TYPE_SHIFT |\ |
| 465 | GRAPH_OBJECT_ENUM_ID1 << ENUM_ID_SHIFT |\ |
| 466 | CONNECTOR_OBJECT_ID_SINGLE_LINK_DVI_D << OBJECT_ID_SHIFT) |
Jerome Glisse | 771fe6b | 2009-06-05 14:42:42 +0200 | [diff] [blame] | 467 | |
Alex Deucher | a7bc115 | 2010-01-07 11:35:48 -0500 | [diff] [blame] | 468 | #define CONNECTOR_SINGLE_LINK_DVI_D_ENUM_ID2 ( GRAPH_OBJECT_TYPE_CONNECTOR << OBJECT_TYPE_SHIFT |\ |
| 469 | GRAPH_OBJECT_ENUM_ID2 << ENUM_ID_SHIFT |\ |
| 470 | CONNECTOR_OBJECT_ID_SINGLE_LINK_DVI_D << OBJECT_ID_SHIFT) |
Jerome Glisse | 771fe6b | 2009-06-05 14:42:42 +0200 | [diff] [blame] | 471 | |
Alex Deucher | 5d68e50 | 2010-11-22 17:56:19 -0500 | [diff] [blame] | 472 | #define CONNECTOR_SINGLE_LINK_DVI_D_ENUM_ID3 ( GRAPH_OBJECT_TYPE_CONNECTOR << OBJECT_TYPE_SHIFT |\ |
| 473 | GRAPH_OBJECT_ENUM_ID3 << ENUM_ID_SHIFT |\ |
| 474 | CONNECTOR_OBJECT_ID_SINGLE_LINK_DVI_D << OBJECT_ID_SHIFT) |
| 475 | |
| 476 | #define CONNECTOR_SINGLE_LINK_DVI_D_ENUM_ID4 ( GRAPH_OBJECT_TYPE_CONNECTOR << OBJECT_TYPE_SHIFT |\ |
| 477 | GRAPH_OBJECT_ENUM_ID4 << ENUM_ID_SHIFT |\ |
| 478 | CONNECTOR_OBJECT_ID_SINGLE_LINK_DVI_D << OBJECT_ID_SHIFT) |
| 479 | |
Alex Deucher | b7aa4cd | 2012-07-13 09:39:44 -0400 | [diff] [blame] | 480 | #define CONNECTOR_SINGLE_LINK_DVI_D_ENUM_ID5 ( GRAPH_OBJECT_TYPE_CONNECTOR << OBJECT_TYPE_SHIFT |\ |
| 481 | GRAPH_OBJECT_ENUM_ID5 << ENUM_ID_SHIFT |\ |
| 482 | CONNECTOR_OBJECT_ID_SINGLE_LINK_DVI_D << OBJECT_ID_SHIFT) |
| 483 | |
| 484 | #define CONNECTOR_SINGLE_LINK_DVI_D_ENUM_ID6 ( GRAPH_OBJECT_TYPE_CONNECTOR << OBJECT_TYPE_SHIFT |\ |
| 485 | GRAPH_OBJECT_ENUM_ID6 << ENUM_ID_SHIFT |\ |
| 486 | CONNECTOR_OBJECT_ID_SINGLE_LINK_DVI_D << OBJECT_ID_SHIFT) |
| 487 | |
Alex Deucher | a7bc115 | 2010-01-07 11:35:48 -0500 | [diff] [blame] | 488 | #define CONNECTOR_DUAL_LINK_DVI_D_ENUM_ID1 ( GRAPH_OBJECT_TYPE_CONNECTOR << OBJECT_TYPE_SHIFT |\ |
| 489 | GRAPH_OBJECT_ENUM_ID1 << ENUM_ID_SHIFT |\ |
| 490 | CONNECTOR_OBJECT_ID_DUAL_LINK_DVI_D << OBJECT_ID_SHIFT) |
Jerome Glisse | 771fe6b | 2009-06-05 14:42:42 +0200 | [diff] [blame] | 491 | |
Alex Deucher | f0f480a | 2010-01-07 11:39:07 -0500 | [diff] [blame] | 492 | #define CONNECTOR_DUAL_LINK_DVI_D_ENUM_ID2 ( GRAPH_OBJECT_TYPE_CONNECTOR << OBJECT_TYPE_SHIFT |\ |
| 493 | GRAPH_OBJECT_ENUM_ID2 << ENUM_ID_SHIFT |\ |
| 494 | CONNECTOR_OBJECT_ID_DUAL_LINK_DVI_D << OBJECT_ID_SHIFT) |
| 495 | |
| 496 | #define CONNECTOR_DUAL_LINK_DVI_D_ENUM_ID3 ( GRAPH_OBJECT_TYPE_CONNECTOR << OBJECT_TYPE_SHIFT |\ |
| 497 | GRAPH_OBJECT_ENUM_ID3 << ENUM_ID_SHIFT |\ |
| 498 | CONNECTOR_OBJECT_ID_DUAL_LINK_DVI_D << OBJECT_ID_SHIFT) |
| 499 | |
Alex Deucher | b7aa4cd | 2012-07-13 09:39:44 -0400 | [diff] [blame] | 500 | #define CONNECTOR_DUAL_LINK_DVI_D_ENUM_ID4 ( GRAPH_OBJECT_TYPE_CONNECTOR << OBJECT_TYPE_SHIFT |\ |
| 501 | GRAPH_OBJECT_ENUM_ID4 << ENUM_ID_SHIFT |\ |
| 502 | CONNECTOR_OBJECT_ID_DUAL_LINK_DVI_D << OBJECT_ID_SHIFT) |
| 503 | |
Alex Deucher | a7bc115 | 2010-01-07 11:35:48 -0500 | [diff] [blame] | 504 | #define CONNECTOR_VGA_ENUM_ID1 ( GRAPH_OBJECT_TYPE_CONNECTOR << OBJECT_TYPE_SHIFT |\ |
| 505 | GRAPH_OBJECT_ENUM_ID1 << ENUM_ID_SHIFT |\ |
| 506 | CONNECTOR_OBJECT_ID_VGA << OBJECT_ID_SHIFT) |
Jerome Glisse | 771fe6b | 2009-06-05 14:42:42 +0200 | [diff] [blame] | 507 | |
Alex Deucher | a7bc115 | 2010-01-07 11:35:48 -0500 | [diff] [blame] | 508 | #define CONNECTOR_VGA_ENUM_ID2 ( GRAPH_OBJECT_TYPE_CONNECTOR << OBJECT_TYPE_SHIFT |\ |
| 509 | GRAPH_OBJECT_ENUM_ID2 << ENUM_ID_SHIFT |\ |
| 510 | CONNECTOR_OBJECT_ID_VGA << OBJECT_ID_SHIFT) |
Jerome Glisse | 771fe6b | 2009-06-05 14:42:42 +0200 | [diff] [blame] | 511 | |
Alex Deucher | a7bc115 | 2010-01-07 11:35:48 -0500 | [diff] [blame] | 512 | #define CONNECTOR_COMPOSITE_ENUM_ID1 ( GRAPH_OBJECT_TYPE_CONNECTOR << OBJECT_TYPE_SHIFT |\ |
| 513 | GRAPH_OBJECT_ENUM_ID1 << ENUM_ID_SHIFT |\ |
| 514 | CONNECTOR_OBJECT_ID_COMPOSITE << OBJECT_ID_SHIFT) |
Jerome Glisse | 771fe6b | 2009-06-05 14:42:42 +0200 | [diff] [blame] | 515 | |
Alex Deucher | f0f480a | 2010-01-07 11:39:07 -0500 | [diff] [blame] | 516 | #define CONNECTOR_COMPOSITE_ENUM_ID2 ( GRAPH_OBJECT_TYPE_CONNECTOR << OBJECT_TYPE_SHIFT |\ |
| 517 | GRAPH_OBJECT_ENUM_ID2 << ENUM_ID_SHIFT |\ |
| 518 | CONNECTOR_OBJECT_ID_COMPOSITE << OBJECT_ID_SHIFT) |
| 519 | |
Alex Deucher | a7bc115 | 2010-01-07 11:35:48 -0500 | [diff] [blame] | 520 | #define CONNECTOR_SVIDEO_ENUM_ID1 ( GRAPH_OBJECT_TYPE_CONNECTOR << OBJECT_TYPE_SHIFT |\ |
| 521 | GRAPH_OBJECT_ENUM_ID1 << ENUM_ID_SHIFT |\ |
| 522 | CONNECTOR_OBJECT_ID_SVIDEO << OBJECT_ID_SHIFT) |
Jerome Glisse | 771fe6b | 2009-06-05 14:42:42 +0200 | [diff] [blame] | 523 | |
Alex Deucher | f0f480a | 2010-01-07 11:39:07 -0500 | [diff] [blame] | 524 | #define CONNECTOR_SVIDEO_ENUM_ID2 ( GRAPH_OBJECT_TYPE_CONNECTOR << OBJECT_TYPE_SHIFT |\ |
| 525 | GRAPH_OBJECT_ENUM_ID2 << ENUM_ID_SHIFT |\ |
| 526 | CONNECTOR_OBJECT_ID_SVIDEO << OBJECT_ID_SHIFT) |
| 527 | |
Alex Deucher | a7bc115 | 2010-01-07 11:35:48 -0500 | [diff] [blame] | 528 | #define CONNECTOR_YPbPr_ENUM_ID1 ( GRAPH_OBJECT_TYPE_CONNECTOR << OBJECT_TYPE_SHIFT |\ |
| 529 | GRAPH_OBJECT_ENUM_ID1 << ENUM_ID_SHIFT |\ |
| 530 | CONNECTOR_OBJECT_ID_YPbPr << OBJECT_ID_SHIFT) |
Jerome Glisse | 771fe6b | 2009-06-05 14:42:42 +0200 | [diff] [blame] | 531 | |
Alex Deucher | f0f480a | 2010-01-07 11:39:07 -0500 | [diff] [blame] | 532 | #define CONNECTOR_YPbPr_ENUM_ID2 ( GRAPH_OBJECT_TYPE_CONNECTOR << OBJECT_TYPE_SHIFT |\ |
| 533 | GRAPH_OBJECT_ENUM_ID2 << ENUM_ID_SHIFT |\ |
| 534 | CONNECTOR_OBJECT_ID_YPbPr << OBJECT_ID_SHIFT) |
| 535 | |
Alex Deucher | a7bc115 | 2010-01-07 11:35:48 -0500 | [diff] [blame] | 536 | #define CONNECTOR_D_CONNECTOR_ENUM_ID1 ( GRAPH_OBJECT_TYPE_CONNECTOR << OBJECT_TYPE_SHIFT |\ |
| 537 | GRAPH_OBJECT_ENUM_ID1 << ENUM_ID_SHIFT |\ |
| 538 | CONNECTOR_OBJECT_ID_D_CONNECTOR << OBJECT_ID_SHIFT) |
Jerome Glisse | 771fe6b | 2009-06-05 14:42:42 +0200 | [diff] [blame] | 539 | |
Alex Deucher | f0f480a | 2010-01-07 11:39:07 -0500 | [diff] [blame] | 540 | #define CONNECTOR_D_CONNECTOR_ENUM_ID2 ( GRAPH_OBJECT_TYPE_CONNECTOR << OBJECT_TYPE_SHIFT |\ |
| 541 | GRAPH_OBJECT_ENUM_ID2 << ENUM_ID_SHIFT |\ |
| 542 | CONNECTOR_OBJECT_ID_D_CONNECTOR << OBJECT_ID_SHIFT) |
| 543 | |
Alex Deucher | a7bc115 | 2010-01-07 11:35:48 -0500 | [diff] [blame] | 544 | #define CONNECTOR_9PIN_DIN_ENUM_ID1 ( GRAPH_OBJECT_TYPE_CONNECTOR << OBJECT_TYPE_SHIFT |\ |
| 545 | GRAPH_OBJECT_ENUM_ID1 << ENUM_ID_SHIFT |\ |
| 546 | CONNECTOR_OBJECT_ID_9PIN_DIN << OBJECT_ID_SHIFT) |
Jerome Glisse | 771fe6b | 2009-06-05 14:42:42 +0200 | [diff] [blame] | 547 | |
Alex Deucher | f0f480a | 2010-01-07 11:39:07 -0500 | [diff] [blame] | 548 | #define CONNECTOR_9PIN_DIN_ENUM_ID2 ( GRAPH_OBJECT_TYPE_CONNECTOR << OBJECT_TYPE_SHIFT |\ |
| 549 | GRAPH_OBJECT_ENUM_ID2 << ENUM_ID_SHIFT |\ |
| 550 | CONNECTOR_OBJECT_ID_9PIN_DIN << OBJECT_ID_SHIFT) |
| 551 | |
Alex Deucher | a7bc115 | 2010-01-07 11:35:48 -0500 | [diff] [blame] | 552 | #define CONNECTOR_SCART_ENUM_ID1 ( GRAPH_OBJECT_TYPE_CONNECTOR << OBJECT_TYPE_SHIFT |\ |
| 553 | GRAPH_OBJECT_ENUM_ID1 << ENUM_ID_SHIFT |\ |
| 554 | CONNECTOR_OBJECT_ID_SCART << OBJECT_ID_SHIFT) |
Jerome Glisse | 771fe6b | 2009-06-05 14:42:42 +0200 | [diff] [blame] | 555 | |
Alex Deucher | f0f480a | 2010-01-07 11:39:07 -0500 | [diff] [blame] | 556 | #define CONNECTOR_SCART_ENUM_ID2 ( GRAPH_OBJECT_TYPE_CONNECTOR << OBJECT_TYPE_SHIFT |\ |
| 557 | GRAPH_OBJECT_ENUM_ID2 << ENUM_ID_SHIFT |\ |
| 558 | CONNECTOR_OBJECT_ID_SCART << OBJECT_ID_SHIFT) |
| 559 | |
Alex Deucher | a7bc115 | 2010-01-07 11:35:48 -0500 | [diff] [blame] | 560 | #define CONNECTOR_HDMI_TYPE_A_ENUM_ID1 ( GRAPH_OBJECT_TYPE_CONNECTOR << OBJECT_TYPE_SHIFT |\ |
| 561 | GRAPH_OBJECT_ENUM_ID1 << ENUM_ID_SHIFT |\ |
| 562 | CONNECTOR_OBJECT_ID_HDMI_TYPE_A << OBJECT_ID_SHIFT) |
Jerome Glisse | 771fe6b | 2009-06-05 14:42:42 +0200 | [diff] [blame] | 563 | |
Alex Deucher | f0f480a | 2010-01-07 11:39:07 -0500 | [diff] [blame] | 564 | #define CONNECTOR_HDMI_TYPE_A_ENUM_ID2 ( GRAPH_OBJECT_TYPE_CONNECTOR << OBJECT_TYPE_SHIFT |\ |
| 565 | GRAPH_OBJECT_ENUM_ID2 << ENUM_ID_SHIFT |\ |
| 566 | CONNECTOR_OBJECT_ID_HDMI_TYPE_A << OBJECT_ID_SHIFT) |
| 567 | |
| 568 | #define CONNECTOR_HDMI_TYPE_A_ENUM_ID3 ( GRAPH_OBJECT_TYPE_CONNECTOR << OBJECT_TYPE_SHIFT |\ |
| 569 | GRAPH_OBJECT_ENUM_ID3 << ENUM_ID_SHIFT |\ |
| 570 | CONNECTOR_OBJECT_ID_HDMI_TYPE_A << OBJECT_ID_SHIFT) |
| 571 | |
Alex Deucher | b7aa4cd | 2012-07-13 09:39:44 -0400 | [diff] [blame] | 572 | #define CONNECTOR_HDMI_TYPE_A_ENUM_ID4 ( GRAPH_OBJECT_TYPE_CONNECTOR << OBJECT_TYPE_SHIFT |\ |
| 573 | GRAPH_OBJECT_ENUM_ID4 << ENUM_ID_SHIFT |\ |
| 574 | CONNECTOR_OBJECT_ID_HDMI_TYPE_A << OBJECT_ID_SHIFT) |
| 575 | |
| 576 | #define CONNECTOR_HDMI_TYPE_A_ENUM_ID5 ( GRAPH_OBJECT_TYPE_CONNECTOR << OBJECT_TYPE_SHIFT |\ |
| 577 | GRAPH_OBJECT_ENUM_ID5 << ENUM_ID_SHIFT |\ |
| 578 | CONNECTOR_OBJECT_ID_HDMI_TYPE_A << OBJECT_ID_SHIFT) |
| 579 | |
| 580 | #define CONNECTOR_HDMI_TYPE_A_ENUM_ID6 ( GRAPH_OBJECT_TYPE_CONNECTOR << OBJECT_TYPE_SHIFT |\ |
| 581 | GRAPH_OBJECT_ENUM_ID6 << ENUM_ID_SHIFT |\ |
| 582 | CONNECTOR_OBJECT_ID_HDMI_TYPE_A << OBJECT_ID_SHIFT) |
| 583 | |
Alex Deucher | a7bc115 | 2010-01-07 11:35:48 -0500 | [diff] [blame] | 584 | #define CONNECTOR_HDMI_TYPE_B_ENUM_ID1 ( GRAPH_OBJECT_TYPE_CONNECTOR << OBJECT_TYPE_SHIFT |\ |
| 585 | GRAPH_OBJECT_ENUM_ID1 << ENUM_ID_SHIFT |\ |
| 586 | CONNECTOR_OBJECT_ID_HDMI_TYPE_B << OBJECT_ID_SHIFT) |
Jerome Glisse | 771fe6b | 2009-06-05 14:42:42 +0200 | [diff] [blame] | 587 | |
Alex Deucher | f0f480a | 2010-01-07 11:39:07 -0500 | [diff] [blame] | 588 | #define CONNECTOR_HDMI_TYPE_B_ENUM_ID2 ( GRAPH_OBJECT_TYPE_CONNECTOR << OBJECT_TYPE_SHIFT |\ |
| 589 | GRAPH_OBJECT_ENUM_ID2 << ENUM_ID_SHIFT |\ |
| 590 | CONNECTOR_OBJECT_ID_HDMI_TYPE_B << OBJECT_ID_SHIFT) |
| 591 | |
Alex Deucher | a7bc115 | 2010-01-07 11:35:48 -0500 | [diff] [blame] | 592 | #define CONNECTOR_7PIN_DIN_ENUM_ID1 ( GRAPH_OBJECT_TYPE_CONNECTOR << OBJECT_TYPE_SHIFT |\ |
| 593 | GRAPH_OBJECT_ENUM_ID1 << ENUM_ID_SHIFT |\ |
| 594 | CONNECTOR_OBJECT_ID_7PIN_DIN << OBJECT_ID_SHIFT) |
Alex Deucher | 5d68e50 | 2010-11-22 17:56:19 -0500 | [diff] [blame] | 595 | |
Alex Deucher | f0f480a | 2010-01-07 11:39:07 -0500 | [diff] [blame] | 596 | #define CONNECTOR_7PIN_DIN_ENUM_ID2 ( GRAPH_OBJECT_TYPE_CONNECTOR << OBJECT_TYPE_SHIFT |\ |
| 597 | GRAPH_OBJECT_ENUM_ID2 << ENUM_ID_SHIFT |\ |
| 598 | CONNECTOR_OBJECT_ID_7PIN_DIN << OBJECT_ID_SHIFT) |
Jerome Glisse | 771fe6b | 2009-06-05 14:42:42 +0200 | [diff] [blame] | 599 | |
Alex Deucher | a7bc115 | 2010-01-07 11:35:48 -0500 | [diff] [blame] | 600 | #define CONNECTOR_PCIE_CONNECTOR_ENUM_ID1 ( GRAPH_OBJECT_TYPE_CONNECTOR << OBJECT_TYPE_SHIFT |\ |
| 601 | GRAPH_OBJECT_ENUM_ID1 << ENUM_ID_SHIFT |\ |
| 602 | CONNECTOR_OBJECT_ID_PCIE_CONNECTOR << OBJECT_ID_SHIFT) |
Jerome Glisse | 771fe6b | 2009-06-05 14:42:42 +0200 | [diff] [blame] | 603 | |
Alex Deucher | a7bc115 | 2010-01-07 11:35:48 -0500 | [diff] [blame] | 604 | #define CONNECTOR_PCIE_CONNECTOR_ENUM_ID2 ( GRAPH_OBJECT_TYPE_CONNECTOR << OBJECT_TYPE_SHIFT |\ |
| 605 | GRAPH_OBJECT_ENUM_ID2 << ENUM_ID_SHIFT |\ |
| 606 | CONNECTOR_OBJECT_ID_PCIE_CONNECTOR << OBJECT_ID_SHIFT) |
Jerome Glisse | 771fe6b | 2009-06-05 14:42:42 +0200 | [diff] [blame] | 607 | |
Alex Deucher | a7bc115 | 2010-01-07 11:35:48 -0500 | [diff] [blame] | 608 | #define CONNECTOR_CROSSFIRE_ENUM_ID1 ( GRAPH_OBJECT_TYPE_CONNECTOR << OBJECT_TYPE_SHIFT |\ |
| 609 | GRAPH_OBJECT_ENUM_ID1 << ENUM_ID_SHIFT |\ |
| 610 | CONNECTOR_OBJECT_ID_CROSSFIRE << OBJECT_ID_SHIFT) |
Jerome Glisse | 771fe6b | 2009-06-05 14:42:42 +0200 | [diff] [blame] | 611 | |
Alex Deucher | a7bc115 | 2010-01-07 11:35:48 -0500 | [diff] [blame] | 612 | #define CONNECTOR_CROSSFIRE_ENUM_ID2 ( GRAPH_OBJECT_TYPE_CONNECTOR << OBJECT_TYPE_SHIFT |\ |
| 613 | GRAPH_OBJECT_ENUM_ID2 << ENUM_ID_SHIFT |\ |
| 614 | CONNECTOR_OBJECT_ID_CROSSFIRE << OBJECT_ID_SHIFT) |
Jerome Glisse | 771fe6b | 2009-06-05 14:42:42 +0200 | [diff] [blame] | 615 | |
Jerome Glisse | 771fe6b | 2009-06-05 14:42:42 +0200 | [diff] [blame] | 616 | |
Alex Deucher | a7bc115 | 2010-01-07 11:35:48 -0500 | [diff] [blame] | 617 | #define CONNECTOR_HARDCODE_DVI_ENUM_ID1 ( GRAPH_OBJECT_TYPE_CONNECTOR << OBJECT_TYPE_SHIFT |\ |
| 618 | GRAPH_OBJECT_ENUM_ID1 << ENUM_ID_SHIFT |\ |
| 619 | CONNECTOR_OBJECT_ID_HARDCODE_DVI << OBJECT_ID_SHIFT) |
Jerome Glisse | 771fe6b | 2009-06-05 14:42:42 +0200 | [diff] [blame] | 620 | |
Alex Deucher | a7bc115 | 2010-01-07 11:35:48 -0500 | [diff] [blame] | 621 | #define CONNECTOR_HARDCODE_DVI_ENUM_ID2 ( GRAPH_OBJECT_TYPE_CONNECTOR << OBJECT_TYPE_SHIFT |\ |
| 622 | GRAPH_OBJECT_ENUM_ID2 << ENUM_ID_SHIFT |\ |
| 623 | CONNECTOR_OBJECT_ID_HARDCODE_DVI << OBJECT_ID_SHIFT) |
Jerome Glisse | 771fe6b | 2009-06-05 14:42:42 +0200 | [diff] [blame] | 624 | |
Alex Deucher | a7bc115 | 2010-01-07 11:35:48 -0500 | [diff] [blame] | 625 | #define CONNECTOR_DISPLAYPORT_ENUM_ID1 ( GRAPH_OBJECT_TYPE_CONNECTOR << OBJECT_TYPE_SHIFT |\ |
| 626 | GRAPH_OBJECT_ENUM_ID1 << ENUM_ID_SHIFT |\ |
| 627 | CONNECTOR_OBJECT_ID_DISPLAYPORT << OBJECT_ID_SHIFT) |
Jerome Glisse | 771fe6b | 2009-06-05 14:42:42 +0200 | [diff] [blame] | 628 | |
Alex Deucher | a7bc115 | 2010-01-07 11:35:48 -0500 | [diff] [blame] | 629 | #define CONNECTOR_DISPLAYPORT_ENUM_ID2 ( GRAPH_OBJECT_TYPE_CONNECTOR << OBJECT_TYPE_SHIFT |\ |
| 630 | GRAPH_OBJECT_ENUM_ID2 << ENUM_ID_SHIFT |\ |
| 631 | CONNECTOR_OBJECT_ID_DISPLAYPORT << OBJECT_ID_SHIFT) |
Jerome Glisse | 771fe6b | 2009-06-05 14:42:42 +0200 | [diff] [blame] | 632 | |
Alex Deucher | a7bc115 | 2010-01-07 11:35:48 -0500 | [diff] [blame] | 633 | #define CONNECTOR_DISPLAYPORT_ENUM_ID3 ( GRAPH_OBJECT_TYPE_CONNECTOR << OBJECT_TYPE_SHIFT |\ |
| 634 | GRAPH_OBJECT_ENUM_ID3 << ENUM_ID_SHIFT |\ |
| 635 | CONNECTOR_OBJECT_ID_DISPLAYPORT << OBJECT_ID_SHIFT) |
| 636 | |
| 637 | #define CONNECTOR_DISPLAYPORT_ENUM_ID4 ( GRAPH_OBJECT_TYPE_CONNECTOR << OBJECT_TYPE_SHIFT |\ |
| 638 | GRAPH_OBJECT_ENUM_ID4 << ENUM_ID_SHIFT |\ |
| 639 | CONNECTOR_OBJECT_ID_DISPLAYPORT << OBJECT_ID_SHIFT) |
Jerome Glisse | 771fe6b | 2009-06-05 14:42:42 +0200 | [diff] [blame] | 640 | |
Alex Deucher | f0f480a | 2010-01-07 11:39:07 -0500 | [diff] [blame] | 641 | #define CONNECTOR_DISPLAYPORT_ENUM_ID5 ( GRAPH_OBJECT_TYPE_CONNECTOR << OBJECT_TYPE_SHIFT |\ |
| 642 | GRAPH_OBJECT_ENUM_ID5 << ENUM_ID_SHIFT |\ |
| 643 | CONNECTOR_OBJECT_ID_DISPLAYPORT << OBJECT_ID_SHIFT) |
| 644 | |
| 645 | #define CONNECTOR_DISPLAYPORT_ENUM_ID6 ( GRAPH_OBJECT_TYPE_CONNECTOR << OBJECT_TYPE_SHIFT |\ |
| 646 | GRAPH_OBJECT_ENUM_ID6 << ENUM_ID_SHIFT |\ |
| 647 | CONNECTOR_OBJECT_ID_DISPLAYPORT << OBJECT_ID_SHIFT) |
| 648 | |
| 649 | #define CONNECTOR_MXM_ENUM_ID1 ( GRAPH_OBJECT_TYPE_CONNECTOR << OBJECT_TYPE_SHIFT |\ |
| 650 | GRAPH_OBJECT_ENUM_ID1 << ENUM_ID_SHIFT |\ |
| 651 | CONNECTOR_OBJECT_ID_MXM << OBJECT_ID_SHIFT) //Mapping to MXM_DP_A |
| 652 | |
| 653 | #define CONNECTOR_MXM_ENUM_ID2 ( GRAPH_OBJECT_TYPE_CONNECTOR << OBJECT_TYPE_SHIFT |\ |
| 654 | GRAPH_OBJECT_ENUM_ID2 << ENUM_ID_SHIFT |\ |
| 655 | CONNECTOR_OBJECT_ID_MXM << OBJECT_ID_SHIFT) //Mapping to MXM_DP_B |
| 656 | |
| 657 | #define CONNECTOR_MXM_ENUM_ID3 ( GRAPH_OBJECT_TYPE_CONNECTOR << OBJECT_TYPE_SHIFT |\ |
| 658 | GRAPH_OBJECT_ENUM_ID3 << ENUM_ID_SHIFT |\ |
| 659 | CONNECTOR_OBJECT_ID_MXM << OBJECT_ID_SHIFT) //Mapping to MXM_DP_C |
| 660 | |
| 661 | #define CONNECTOR_MXM_ENUM_ID4 ( GRAPH_OBJECT_TYPE_CONNECTOR << OBJECT_TYPE_SHIFT |\ |
| 662 | GRAPH_OBJECT_ENUM_ID4 << ENUM_ID_SHIFT |\ |
| 663 | CONNECTOR_OBJECT_ID_MXM << OBJECT_ID_SHIFT) //Mapping to MXM_DP_D |
| 664 | |
| 665 | #define CONNECTOR_MXM_ENUM_ID5 ( GRAPH_OBJECT_TYPE_CONNECTOR << OBJECT_TYPE_SHIFT |\ |
| 666 | GRAPH_OBJECT_ENUM_ID5 << ENUM_ID_SHIFT |\ |
| 667 | CONNECTOR_OBJECT_ID_MXM << OBJECT_ID_SHIFT) //Mapping to MXM_LVDS_TXxx |
| 668 | |
| 669 | #define CONNECTOR_MXM_ENUM_ID6 ( GRAPH_OBJECT_TYPE_CONNECTOR << OBJECT_TYPE_SHIFT |\ |
| 670 | GRAPH_OBJECT_ENUM_ID6 << ENUM_ID_SHIFT |\ |
| 671 | CONNECTOR_OBJECT_ID_MXM << OBJECT_ID_SHIFT) //Mapping to MXM_LVDS_UXxx |
| 672 | |
| 673 | #define CONNECTOR_MXM_ENUM_ID7 ( GRAPH_OBJECT_TYPE_CONNECTOR << OBJECT_TYPE_SHIFT |\ |
| 674 | GRAPH_OBJECT_ENUM_ID7 << ENUM_ID_SHIFT |\ |
| 675 | CONNECTOR_OBJECT_ID_MXM << OBJECT_ID_SHIFT) //Mapping to MXM_DAC |
| 676 | |
Alex Deucher | 5d68e50 | 2010-11-22 17:56:19 -0500 | [diff] [blame] | 677 | #define CONNECTOR_LVDS_eDP_ENUM_ID1 ( GRAPH_OBJECT_TYPE_CONNECTOR << OBJECT_TYPE_SHIFT |\ |
| 678 | GRAPH_OBJECT_ENUM_ID1 << ENUM_ID_SHIFT |\ |
| 679 | CONNECTOR_OBJECT_ID_LVDS_eDP << OBJECT_ID_SHIFT) |
| 680 | |
| 681 | #define CONNECTOR_LVDS_eDP_ENUM_ID2 ( GRAPH_OBJECT_TYPE_CONNECTOR << OBJECT_TYPE_SHIFT |\ |
| 682 | GRAPH_OBJECT_ENUM_ID2 << ENUM_ID_SHIFT |\ |
| 683 | CONNECTOR_OBJECT_ID_LVDS_eDP << OBJECT_ID_SHIFT) |
| 684 | |
Jerome Glisse | 771fe6b | 2009-06-05 14:42:42 +0200 | [diff] [blame] | 685 | /****************************************************/ |
| 686 | /* Router Object ID definition - Shared with BIOS */ |
| 687 | /****************************************************/ |
Alex Deucher | a7bc115 | 2010-01-07 11:35:48 -0500 | [diff] [blame] | 688 | #define ROUTER_I2C_EXTENDER_CNTL_ENUM_ID1 ( GRAPH_OBJECT_TYPE_ROUTER << OBJECT_TYPE_SHIFT |\ |
| 689 | GRAPH_OBJECT_ENUM_ID1 << ENUM_ID_SHIFT |\ |
| 690 | ROUTER_OBJECT_ID_I2C_EXTENDER_CNTL << OBJECT_ID_SHIFT) |
Jerome Glisse | 771fe6b | 2009-06-05 14:42:42 +0200 | [diff] [blame] | 691 | |
| 692 | /* deleted */ |
| 693 | |
| 694 | /****************************************************/ |
Alex Deucher | f0f480a | 2010-01-07 11:39:07 -0500 | [diff] [blame] | 695 | /* Generic Object ID definition - Shared with BIOS */ |
| 696 | /****************************************************/ |
| 697 | #define GENERICOBJECT_GLSYNC_ENUM_ID1 (GRAPH_OBJECT_TYPE_GENERIC << OBJECT_TYPE_SHIFT |\ |
| 698 | GRAPH_OBJECT_ENUM_ID1 << ENUM_ID_SHIFT |\ |
| 699 | GENERIC_OBJECT_ID_GLSYNC << OBJECT_ID_SHIFT) |
| 700 | |
| 701 | #define GENERICOBJECT_PX2_NON_DRIVABLE_ID1 (GRAPH_OBJECT_TYPE_GENERIC << OBJECT_TYPE_SHIFT |\ |
| 702 | GRAPH_OBJECT_ENUM_ID1 << ENUM_ID_SHIFT |\ |
| 703 | GENERIC_OBJECT_ID_PX2_NON_DRIVABLE<< OBJECT_ID_SHIFT) |
| 704 | |
| 705 | #define GENERICOBJECT_PX2_NON_DRIVABLE_ID2 (GRAPH_OBJECT_TYPE_GENERIC << OBJECT_TYPE_SHIFT |\ |
| 706 | GRAPH_OBJECT_ENUM_ID2 << ENUM_ID_SHIFT |\ |
| 707 | GENERIC_OBJECT_ID_PX2_NON_DRIVABLE<< OBJECT_ID_SHIFT) |
| 708 | |
| 709 | #define GENERICOBJECT_MXM_OPM_ENUM_ID1 (GRAPH_OBJECT_TYPE_GENERIC << OBJECT_TYPE_SHIFT |\ |
| 710 | GRAPH_OBJECT_ENUM_ID1 << ENUM_ID_SHIFT |\ |
| 711 | GENERIC_OBJECT_ID_MXM_OPM << OBJECT_ID_SHIFT) |
| 712 | |
Alex Deucher | 5d68e50 | 2010-11-22 17:56:19 -0500 | [diff] [blame] | 713 | #define GENERICOBJECT_STEREO_PIN_ENUM_ID1 (GRAPH_OBJECT_TYPE_GENERIC << OBJECT_TYPE_SHIFT |\ |
| 714 | GRAPH_OBJECT_ENUM_ID1 << ENUM_ID_SHIFT |\ |
| 715 | GENERIC_OBJECT_ID_STEREO_PIN << OBJECT_ID_SHIFT) |
| 716 | |
Alex Deucher | f0f480a | 2010-01-07 11:39:07 -0500 | [diff] [blame] | 717 | /****************************************************/ |
Jerome Glisse | 771fe6b | 2009-06-05 14:42:42 +0200 | [diff] [blame] | 718 | /* Object Cap definition - Shared with BIOS */ |
| 719 | /****************************************************/ |
| 720 | #define GRAPHICS_OBJECT_CAP_I2C 0x00000001L |
| 721 | #define GRAPHICS_OBJECT_CAP_TABLE_ID 0x00000002L |
| 722 | |
Alex Deucher | a7bc115 | 2010-01-07 11:35:48 -0500 | [diff] [blame] | 723 | |
Jerome Glisse | 771fe6b | 2009-06-05 14:42:42 +0200 | [diff] [blame] | 724 | #define GRAPHICS_OBJECT_I2CCOMMAND_TABLE_ID 0x01 |
| 725 | #define GRAPHICS_OBJECT_HOTPLUGDETECTIONINTERUPT_TABLE_ID 0x02 |
| 726 | #define GRAPHICS_OBJECT_ENCODER_OUTPUT_PROTECTION_TABLE_ID 0x03 |
| 727 | |
| 728 | #if defined(_X86_) |
| 729 | #pragma pack() |
| 730 | #endif |
| 731 | |
Alex Deucher | a7bc115 | 2010-01-07 11:35:48 -0500 | [diff] [blame] | 732 | #endif /*GRAPHICTYPE */ |
| 733 | |
| 734 | |
| 735 | |
| 736 | |