Contribute
Register

Haswell HDMI Audio

Status
Not open for further replies.
Yes, see Post #1/Native 8 Series HDMI Audio Graphics/3. AMD HD5xxx/HD6xxx/HD7xxx/5. HD7xxx HDMI audio

Sorry, that said lion and hd6xxx, so I didn't realize it applied. But If I try and paste in the following to my ssdt-1 aml, I get Object does not exist DTGP errors. My hdmi audio is already working with the intel gpu, I just want to enter the framebuffer personality.

Code:
 Scope (_SB.PCI0.P0P2)
    {
            Device (PEGP)
            {
                Name (_ADR, 0x00010000)     /**  Verify display  address  **/
                Name (_STA, 0x0F)
                Name (_PRW, Package (0x02)
                {
                    0x09, 
                    0x05
                })
                Device (GFX0)        /**  for AMD Graphics Cards  **/
                {
                    Name (_ADR, Zero)
                    Name (_SUN, One)
                    Method (_DSM, 4, NotSerialized)
                    {
                        Store (Package (0x0C)
                            {
                                "@0,name", 
                                Buffer (0x0D)
                                {
                                    "ATY,Futomaki"
                                }, 

                                "@1,name", 
                                Buffer (0x0D)
                                {
                                    "ATY,Futomaki"
                                }, 

                                "@2,name", 
                                Buffer (0x0D)
                                {
                                    "ATY,Futomaki"
                                }, 

                                "@3,name", 
                                Buffer (0x0D)
                                {
                                    "ATY,Futomaki"
                                }, 

                                "model", 
                                Buffer (0x13)
                                {
                                    "AMD Radeon HD 7950"
                                }, 

                                "hda-gfx", 
                                Buffer (0x0A)
                                {
                                    "onboard-1"
                                }
                            }, Local0)
                        DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                        Return (Local0)
                    }
                }

                Device (HDAU)
                {
                    Name (_ADR, One)
                    Method (_DSM, 4, NotSerialized)
                    {
                        Store (Package (0x02)
                            {
                                "hda-gfx", 
                                Buffer (0x0A)
                                {
                                    "onboard-1"
                                }
                            }, Local0)
                        DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                        Return (Local0)
                    }
                }
            }
 }

If I follow the 7750 study pdf,
I cannot find my cards personality in hex editor, and even if I encode mine into another, like dashimaki, I still get 112, 6126, syntax error, unexpected $end and premature End-Of-File in editing ssdt-1 aml
112, 6126, syntax error, unexpected $end and premature End-Of-File
 
I cannot find my cards personality in hex editor, and even if I encode mine into another, like dashimaki, I still get 112, 6126, syntax error, unexpected $end and premature End-Of-File in editing ssdt-1 aml
112, 6126, syntax error, unexpected $end and premature End-Of-File
Link updated to v2. Attach the dsdt or ssdt any time their is a compile error. The binary file does not have an entry called "Dashimaki". Instead, use find on the connector you are looking for. Details in the pdf.
 
Link updated to v2. Attach the dsdt or ssdt any time their is a compile error. The binary file does not have an entry called "Dashimaki". Instead, use find on the connector you are looking for. Details in the pdf.

I should have been clearer, I searched for the 16 byte line of the connector, 4 of them per the frame buffer but couldn't find any of them, I did not hunt for the string names of the fb personalities in a bin :) I think the ssdt might be in order now, figured out the

here's the rom decode

Code:
GV-R795WF3-3GD/FX1                                                          

Subsystem Vendor ID: 1458
       Subsystem ID: 254c
Object Header Structure Size: 389
Connector Object Table Offset: 48
Router Object Table Offset: 0
Encoder Object Table Offset: 118
Display Path Table Offset: 12
Connector Object Id [19] which is [DISPLAY_PORT]
    encoder obj id [0x21] which is [INTERNAL_UNIPHY2 (osx txmit 0x12 [duallink 0x2] enc 0x4)] linkb: false
Connector Object Id [19] which is [DISPLAY_PORT]
    encoder obj id [0x21] which is [INTERNAL_UNIPHY2 (osx txmit 0x22 [duallink 0x2] enc 0x5)] linkb: true
Connector Object Id [12] which is [HDMI_TYPE_A]
    encoder obj id [0x20] which is [INTERNAL_UNIPHY1 (osx txmit 0x11 [duallink 0x1] enc 0x2)] linkb: false
Connector Object Id [2] which is [DVI_I]
    encoder obj id [0x1e] which is [INTERNAL_UNIPHY (osx txmit 0x10 [duallink 0x0] enc 0x0)] linkb: false
Connector Object Id [2] which is [DVI_I]
    encoder obj id [0x15] which is [INTERNAL_KLDSCP_DAC1 (osx txmit 0x00 enc 0x10?)] linkb: false


Here's ssdt-1.aml, got it to compile with v2, device id from rom added as well, now If I can find futomaki, or some other similar framebuffer in the controller kext, that should be it.
Code:
/*
 * Intel ACPI Component Architecture
 * AML Disassembler version 20131218-64 [Jan  8 2014]
 * Copyright (c) 2000 - 2013 Intel Corporation
 * 
 * Disassembly of iASLNmynSc.aml, Sun Apr 20 23:15:45 2014
 *
 * Original Table Header:
 *     Signature        "SSDT"
 *     Length           0x00000232 (562)
 *     Revision         0x01
 *     Checksum         0x77
 *     OEM ID           "toleda"
 *     OEM Table ID     "ami8hdm2"
 *     OEM Revision     0x00003000 (12288)
 *     Compiler ID      "INTL"
 *     Compiler Version 0x20131218 (538120728)
 */
DefinitionBlock ("iASLNmynSc.aml", "SSDT", 1, "toleda", "ami8hdm2", 0x00003000)
{

    External (_SB_.PCI0, DeviceObj)
    External (_SB_.PCI0.P0P2, DeviceObj)

    Method (_SB.PCI0.HDEF._DSM, 4, NotSerialized)  // _DSM: Device-Specific Method
    {
        If (LEqual (Arg2, Zero))
        {
            Return (Buffer (One)
            {
                 0x03
            })
        }

        Return (Package (0x04)
        {
            "layout-id", 
            Buffer (0x04)
            {
                 0x02, 0x00, 0x00, 0x00
            }, 

            "PinConfigurations", 
            Buffer (Zero) {}
        })
    }

    Scope (_SB.PCI0)
    {
        Device (IGPU)
        {
            Name (_ADR, 0x00020000)  // _ADR: Address
            Method (_DSM, 4, NotSerialized)  // _DSM: Device-Specific Method
            {
                If (LEqual (Arg2, Zero))
                {
                    Return (Buffer (One)
                    {
                         0x03
                    })
                }

                Return (Package (0x04)
                {
                    "AAPL,ig-platform-id", 
                    Buffer (0x04)
                    {
                         0x03, 0x00, 0x22, 0x0D
                    }, 

                    "hda-gfx", 
                    Buffer (0x0A)
                    {
                        "onboard-1"
                    }
                })
            }
        }

        Device (HDAU)
        {
            Name (_ADR, 0x00030000)  // _ADR: Address
            Method (_DSM, 4, NotSerialized)  // _DSM: Device-Specific Method
            {
                If (LEqual (Arg2, Zero))
                {
                    Return (Buffer (One)
                    {
                         0x03
                    })
                }

                Return (Package (0x02)
                {
                    "hda-gfx", 
                    Buffer (0x0A)
                    {
                        "onboard-1"
                    }
                })
            }
        }
    }

    Scope (_SB.PCI0.P0P2)
    {
        Device (PEGP)
        {
            Name (_ADR, Zero)
            Name (_SUN, One)
            Method (_DSM, 4, NotSerialized)
            {
                If (LEqual (Arg2, Zero))
                {
                    Return (Buffer (One)
                    {
0x03 })
}
                Return (Package (0x10)
                {
                    "AAPL,slot-name",
                    Buffer (0x07)
                    {
"Slot-1" },
                    "device-id",
                    Buffer (0x04)
            {
                 0x9A, 0x67, 0x00, 0x00
},
            "@0,name",
            Buffer (0x0E)
            {
                "ATY,Futomaki"
            },
            "@1,name",
            Buffer (0x0E)
            {
                "ATY,Futomaki"
            },
            "@2,name",
            Buffer (0x0E)
            {
                "ATY,Futomaki"
            },
            "@3,name",
            Buffer (0x0E)
            {
                "ATY,Futomaki"
            },
            "model",
            Buffer (0x13)
            {
                "AMD Radeon HD 7950"
            },
            "hda-gfx",
            Buffer (0x0A)
            {
                "onboard-2"
            }
}) }
}
Device (HDAU)
{
    Name (_ADR, One)
    Method (_DSM, 4, NotSerialized)
    {
        If (LEqual (Arg2, Zero))
        {
Return (Buffer (One)
            {
0x03 })
}
        Return (Package (0x02)
        {
            "hda-gfx",
            Buffer (0x0A)
            {
                "onboard-2"
            }
}) }
}
}
}


Code:
original fb
00040000040300000001010012040401
00040000040300000001020022050502
04000000140200000001030000000606
00080000040200000001040011020103

modified fb
00 04 00 00 04 03 00 00 00 01 01 00 12 04 01 01
00 04 00 00 04 03 00 00 00 01 02 00 22 05 02 02
00 08 00 00 04 02 00 00 00 01 04 00 11 02 03 03
04 00 00 00 14 02 00 00 00 01 03 00 00 00 04 06
 
Status
Not open for further replies.
Back
Top