Subsystem Vendor ID: 1002
Subsystem ID: 9552
..
Connector Object Id [14] which is [LVDS]
encoder obj id [0x21] which is [INTERNAL_UNIPHY2 (osx txmit 0x12 [duallink 0x2] enc 0x4)]
Connector Object Id [5] which is [VGA]
encoder obj id [0x15] which is [INTERNAL_KLDSCP_DAC1 (osx txmit 0x00 enc 0x10?)]
Connector Object Id [12] which is [HDMI_TYPE_A]
encoder obj id [0x1e] which is [INTERNAL_UNIPHY (osx txmit 0x10 [duallink 0x0] enc 0x0)]
/* 同上面的dmesg取得 for R8XX architecture,共有06组Digital Encoder: DIG_1 > DIG_6*/
/* Encoder Bits 0-3 (DIG_ID : Digital) */
#define DIG_1 0x00 // = DIG_A
#define DIG_2 0x01 // = DIG_B
#define DIG_3 0x02 // = DIG_C Only for Radeon HD 5XXX Series and above
#define DIG_4 0x03 // = DIG_D Only for Radeon HD 5XXX Series and above
#define DIG_5 0x04 // = DIG_E Only for Radeon HD 5XXX Series and above
#define DIG_6 0x05 // = DIG_F Only for Radeon HD 5XXX Series and above
/* SenseLine = (i2cid & 0xf) +1 , 由radeondump取得i2cid */
Bits 0-3: Sense Line
Bit 4: Use hw i2c flag
因字数问题,原文实作请看五楼
提取 Encoder & Transmitter ID 的值:
/*
* DIG Encoder/Transmitter Setup
*
* DCE 3.0/3.1 (RV6XX, Radeon HD 3XXX Series and older)
* - 2 DIG transmitter blocks. UNIPHY (links A and B ) and LVTMA.
* Supports up to 3 digital outputs
* - 2 DIG encoder blocks.
* DIG1 can drive UNIPHY link A or link B
* DIG2 can drive UNIPHY link B or LVTMA
*
* DCE 3.2 (RV7XX, Radeon HD 4XXX Series)
* - 3 DIG transmitter blocks. UNIPHY0/1/2 (links A and B ).
* Supports up to 5 digital outputs
* - 2 DIG encoder blocks.
* DIG1/2 can drive UNIPHY0/1/2 link A or link B
*
* DCE 4.0 (RV8XX, Radeon HD 5XXX Series)
* - 3 DIG transmitter blocks UNPHY0/1/2 (links A and B ).
* Supports up to 6 digital outputs
* - 6 DIG encoder blocks.
* - DIG to PHY mapping is hardcoded
* DIG1 drives UNIPHY0 link A, A+B
* DIG2 drives UNIPHY0 link B
* DIG3 drives UNIPHY1 link A, A+B
* DIG4 drives UNIPHY1 link B
* DIG5 drives UNIPHY2 link A, A+B
* DIG6 drives UNIPHY2 link B
*
* Routing
* crtc -> dig encoder -> UNIPHY/LVTMA (1 or 2 links)
* 例如:
* crtc0 -> dig2 -> LVTMA links A+B -> TMDS/HDMI
* crtc1 -> dig1 -> UNIPHY0 link B -> DP
* crtc0 -> dig1 -> UNIPHY2 link A -> LVDS
* crtc1 -> dig2 -> UNIPHY1 link B+A -> TMDS/HDMI
*/
已改
RadeonHD.10.6(2009.10.20)+(2011.05.31)debug.zip(385.11 KB, 下载次数: 899)
Connector at index 0 type: LVDS (7)
Connector's i2cid: 96
Connector at index 1 type: VGA (1)
Connector's i2cid: 95
Connector at index 2 type: HDMI-A (11)
Connector's i2cid: 90
/*
* DIG Encoder/Transmitter Setup
*
* DCE 3.0/3.1 (RV6XX, Radeon HD 3XXX Series and older)
* - 2 DIG transmitter blocks. UNIPHY (links A and B ) and LVTMA.
* Supports up to 3 digital outputs
* - 2 DIG encoder blocks.
* DIG1 can drive UNIPHY link A or link B
* DIG2 can drive UNIPHY link B or LVTMA
*
* DCE 3.2 (RV7XX, Radeon HD 4XXX Series)
* - 3 DIG transmitter blocks. UNIPHY0/1/2 (links A and B ).
* Supports up to 5 digital outputs
* - 2 DIG encoder blocks.
* DIG1/2 can drive UNIPHY0/1/2 link A or link B
*
* DCE 4.0 (RV8XX, Radeon HD 5XXX Series)
* - 3 DIG transmitter blocks UNPHY0/1/2 (links A and B ).
* Supports up to 6 digital outputs
* - 6 DIG encoder blocks.
* - DIG to PHY mapping is hardcoded
* DIG1 drives UNIPHY0 link A, A+B
* DIG2 drives UNIPHY0 link B
* DIG3 drives UNIPHY1 link A, A+B
* DIG4 drives UNIPHY1 link B
* DIG5 drives UNIPHY2 link A, A+B
* DIG6 drives UNIPHY2 link B
*
* Routing
* crtc -> dig encoder -> UNIPHY/LVTMA (1 or 2 links)
* 例如:
* crtc0 -> dig2 -> LVTMA links A+B -> TMDS/HDMI
* crtc1 -> dig1 -> UNIPHY0 link B -> DP
* crtc0 -> dig1 -> UNIPHY2 link A -> LVDS
* crtc1 -> dig2 -> UNIPHY1 link B+A -> TMDS/HDMI
*/
Encoder.txt 原文案例
--------------------------------
......
DAC_LoadDetection Successful
rhdAtomBIOSScratchDACSenseResults
BIOSScratch_0: 0x40002
rhdAtomBIOSScratchDACSenseResults sensed RHD_SENSED_VGA
AtomOutputvalueDACA: Sensed Output: VGA
......
RHDAtomOutputAllocFree
Mapping DIG1 encoder to KLDSKP_UNIPHYE
Crtc[0]: found native mode from Monitor[LVDS Panel]:
Modeline "1366x768" 72 1366 1414 1446 1486 768 771 775 806
Connector "PANEL" uses Monitor "LVDS Panel":
RHDMonitorInit
Connector "VGA 1": Failed to retrieve Monitor information.
RHDValidateScaledToMode
rhdModeValidateCrtc
DxModeValid: ATOM CRTC 1
rhdAtomOutputModeValid
Listing modesetting layout:
ATOM CRTC 1: tied to Atom PLL 1 and LUT A:
Outputs: AtomOutputduleDemandUniphyE (PANEL)
ATOM CRTC 2: tied to Atom PLL 2 and LUT B:
Outputs: AtomOutputvalueDACA (VGA 1)
Unused Outputs: AtomOutputUniphyB 未接
RHDModesPoolCreate
Connector at index 0 type: LVDS (7)
Connector's i2cid: 96
Connector at index 1 type: VGA (1)
Connector's i2cid: 90
Connector at index 2 type: HDMI-A (11)
Connector's i2cid: 91
Subsystem Vendor ID: 1002
Subsystem ID: 9552
..
Connector Object Id [14] which is [LVDS]
encoder obj id [0x21] which is [INTERNAL_UNIPHY2 (osx txmit 0x12 [duallink 0x2] enc 0x4)] linkb: false
Connector Object Id [5] which is [VGA]
encoder obj id [0x15] which is [INTERNAL_KLDSCP_DAC1 (osx txmit 0x00 enc 0x10?)] linkb: false
Connector Object Id [12] which is [HDMI_TYPE_A]
encoder obj id [0x1e] which is [INTERNAL_UNIPHY (osx txmit 0x10 [duallink 0x0] enc 0x0)] linkb: false
Subsystem Vendor ID: 1002
Subsystem ID: 9552
..
Connector Object Id [14] which is [LVDS]
encoder obj id [0x21] which is [INTERNAL_UNIPHY2 (osx txmit 0x12 [duallink 0x2] enc 0x4)]
Connector Object Id [5] which is [VGA]
encoder obj id [0x15] which is [INTERNAL_KLDSCP_DAC1 (osx txmit 0x00 enc 0x10?)]
Connector Object Id [12] which is [HDMI_TYPE_A]
encoder obj id [0x1e] which is [INTERNAL_UNIPHY (osx txmit 0x10 [duallink 0x0] enc 0x0)]