On Thu, 03 Dec 2015 22:08:52 +0100, Subhransu S. Prusty wrote:
This patch uses i915 component framework to register for hotplug notification. And once it identifies valid pin sense and valid eld, reads the eld into the corresponding pin map buffer. For now it directly sends the verbs and reads the eld. Later this will use the i915 framework to populate ELD buffer once available.
The eld reading APIs in legacy hda are required for ASoC skylake hdmi driver as well. So keeping a copy here and will remove once component ops for reading ELD are merged in hda core.
Also read the monitor present sense during resume and ignore the ELD notify from graphics during PM as is done in legacy hda. Reference commits:
git: git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git
commit 33d58f2bb446 ("ALSA: hda - Skip ELD notification during PM process")
This one isn't merged yet, so the commit ID may be wrong. Maybe I'm going to merge this one at first to for-next branch, irrelevant from test/hdmi-jack branch. So drop it from the description for now.
commit 8ae743e82f0b ("ALSA: hda - Skip ELD notification during system suspend")
This one is already solid.
Takashi