[Nouveau] [Bug 75985] [NVC1] HDMI audio device only visible after rescan

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Jun 20 08:16:41 UTC 2019


https://bugs.freedesktop.org/show_bug.cgi?id=75985

--- Comment #78 from Lukas Wunner <lukas at wunner.de> ---
(In reply to Daniel Drake from comment #77)
> MLTF presumably means multifunction and it's exactly the bit we've been
> working with. But I haven't yet managed to get _PS0 to run this code. I get
> to the GGIV(0x01080001) call, but it returns 0, so the bit doesn't get set.
> 
> I tried understanding what GGIV() does but nothing is clear there. It ends
> up reading bit 1 from physical memory address 0xfdac0408 which is under:
> pci_bus 0000:00: resource 21 [mem 0xfd000000-0xfe7fffff window]
> and I can't immediately spot any ACPI code that writes to that address.

GGIV is a method name used by many vendors to read a GPIO pin. "Get GPIO Input
Value" or something like that.

Quite likely the GPIO pin in question is attached to HPD of an HDMI or DP port.
So if an external display is attached, GGIV(0x01080001) should return 1 and the
HDA is exposed, else it's hidden.

If the GPIO pin in question is on the PCH then you can download the spec for
the PCH from Intel's website to verify that the MMIO space at 0x01080001 is a
GPIO block. The GPIO pin could also be on the Nvidia card itself, in that case
physical address 0x01080001 would belong to a resource of the GPU's PCI device.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/nouveau/attachments/20190620/adf2d504/attachment.html>


More information about the Nouveau mailing list