- Joined
- Mar 29, 2019
- Messages
- 226
- Motherboard
- Zbook G4 17
- CPU
- i7-7820HQ
- Graphics
- HD630+WX4150
- Mac
- Classic Mac
- Mobile Phone
I found my wx4150 pci id (0x67E8) and WX4170 (0x67E0) in ATY,Yelcho framebuffer IOPCIMatch inside info.plist. I think that this one is OEM based OS loading framebuffer
TAKE A LOOK FOR WX4170: this frame buffer need short patch of reorder ports as osx txmit 21 (HDMI) located as DP, and HDMI as DP.
ORIGINAL BUFFER
redsock_bios_decoder and radeon_bios_decode info
My connectors VBIOS PRIORITY:
[EDP]
HP Boot screen priority = 01
osx txmit 0x11; enc 0x2; HotPlugID: 4; senseid: 0x4
[DP] to [VGA]
HP Boot screen priority = 04
osx txmit 0x21; enc 0x3; HotPlugID: 3; senseid: 0x3
[DP] to [USB-C DP]
HP Boot screen priority = 03
osx txmit 0x20; enc 0x1; HotPlugID: 1; senseid: 0x1
[DP] to [HDMI]
HP Boot screen priority = 02
osx txmit 0x10; enc 0x0; HotPlugID: 2; senseid: 0x2
MY txmit and enc in ORIGINAL BUFFER
FIRST STEP IS DISABLE HDMI IN BUFFER, DISABLE AMD INJECT, DISABLE Whatevergreen, Lilu and test it
KEXT PATCH
TAKE A LOOK FOR WX4170: this frame buffer need short patch of reorder ports as osx txmit 21 (HDMI) located as DP, and HDMI as DP.
ORIGINAL BUFFER
Yelcho (6) @ 0x66a80
DP, DP, HDMI, DP, DP, DP
000400000001000000010111000000001204060100000000
000400000001000000010321000000002205040300000000
000800000402000000010500000000002103050400000000
000400000001000000014251000000001000000000000000
000400000001000000014461000000002001000000000000
000400000001000000014601000000001102000000000000
redsock_bios_decoder and radeon_bios_decode info
HP Vaughn G1-50 GDDR5
PCI ID: 1002:67e8
Connector at index 0
Type [@offset 37664]: eDP (14)
Encoder [@offset 37668]: INTERNAL_UNIPHY1 (0x20)
i2cid [@offset 37756]: 0x93, OSX senseid: 0x4
HotPlugID: 4
Connector at index 1
Type [@offset 37674]: DisplayPort (10)
Encoder [@offset 37678]: INTERNAL_UNIPHY1 (0x20)
i2cid [@offset 37783]: 0x92, OSX senseid: 0x3
HotPlugID: 3
Connector at index 2
Type [@offset 37684]: DisplayPort (10)
Encoder [@offset 37688]: INTERNAL_UNIPHY (0x1e)
i2cid [@offset 37810]: 0x90, OSX senseid: 0x1
HotPlugID: 1
Connector at index 3
Type [@offset 37694]: DisplayPort (10)
Encoder [@offset 37698]: INTERNAL_UNIPHY (0x1e)
i2cid [@offset 37837]: 0x91, OSX senseid: 0x2
HotPlugID: 2
Connector Object Id [20] which is [EDP]
encoder obj id [0x20] which is [INTERNAL_UNIPHY1 (osx txmit 0x11 [duallink 0x1] enc 0x2)] linkb: false
Connector Object Id [19] which is [DISPLAY_PORT]
encoder obj id [0x20] which is [INTERNAL_UNIPHY1 (osx txmit 0x21 [duallink 0x1] enc 0x3)] linkb: true
Connector Object Id [19] which is [DISPLAY_PORT]
encoder obj id [0x1e] which is [INTERNAL_UNIPHY (osx txmit 0x20 [duallink 0x0] enc 0x1)] linkb: true
Connector Object Id [19] which is [DISPLAY_PORT]
encoder obj id [0x1e] which is [INTERNAL_UNIPHY (osx txmit 0x10 [duallink 0x0] enc 0x0)] linkb: false
My connectors VBIOS PRIORITY:
[EDP]
HP Boot screen priority = 01
osx txmit 0x11; enc 0x2; HotPlugID: 4; senseid: 0x4
[DP] to [VGA]
HP Boot screen priority = 04
osx txmit 0x21; enc 0x3; HotPlugID: 3; senseid: 0x3
[DP] to [USB-C DP]
HP Boot screen priority = 03
osx txmit 0x20; enc 0x1; HotPlugID: 1; senseid: 0x1
[DP] to [HDMI]
HP Boot screen priority = 02
osx txmit 0x10; enc 0x0; HotPlugID: 2; senseid: 0x2
MY txmit and enc in ORIGINAL BUFFER
Yelcho (6) @ 0x66a80
DP, DP, HDMI, DP, DP, DP
00040000 00010000 00010111 00000000 12 04 06 01 00000000
00040000 00010000 00010321 00000000 22 05 04 03 00000000
00080000 04020000 00010500 00000000 21 03 05 04 00000000 [DP] to [VGA]
00040000 00010000 00014251 00000000 10 00 00 00 00000000 [DP] to [HDMI]
00040000 00010000 00014461 00000000 20 01 00 00 00000000 [DP] to [USB-C DP]
00040000 00010000 00014601 00000000 11 02 00 00 00000000 [EDP]
FIRST STEP IS DISABLE HDMI IN BUFFER, DISABLE AMD INJECT, DISABLE Whatevergreen, Lilu and test it
Yelcho (6) @ 0x66a80
DP, DP, HDMI, DP, DP, DP
00040000 00010000 00010111 00000000 12 04 06 01 00000000
00040000 00010000 00010321 00000000 22 05 04 03 00000000
00000000 00000000 00000000 00000000 00 00 00 00 00000000 [DP] to [VGA]
00040000 00010000 00014251 00000000 10 00 00 00 00000000 [DP] to [HDMI]
00040000 00010000 00014461 00000000 20 01 00 00 00000000 [DP] to [USB-C DP]
00040000 00010000 00014601 00000000 11 02 00 00 00000000 [EDP]
KEXT PATCH
AMD9500Controller
FIND
000400000001000000010111000000001204060100000000000400000001000000010321000000002205040300000000000800000402000000010500000000002103050400000000000400000001000000014251000000001000000000000000000400000001000000014461000000002001000000000000000400000001000000014601000000001102000000000000
REPLACE
000400000001000000010111000000001204060100000000000400000001000000010321000000002205040300000000000000000000000000000000000000000000000000000000000400000001000000014251000000001000000000000000000400000001000000014461000000002001000000000000000400000001000000014601000000001102000000000000