From: David Henningsson <david.henningsson@canonical.com>
To: "R, Durgadoss" <durgadoss.r@intel.com>,
"alsa-devel@alsa-project.org" <alsa-devel@alsa-project.org>,
"intel-gfx@lists.freedesktop.org"
<intel-gfx@lists.freedesktop.org>,
"tiwai@suse.de" <tiwai@suse.de>,
"Vetter, Daniel" <daniel.vetter@intel.com>,
"jani.nikula@linux.intel.com" <jani.nikula@linux.intel.com>
Cc: "Koul, Vinod" <vinod.koul@intel.com>
Subject: Re: [PATCH 0/4] i915 to call hda driver on HDMI plug/unplug
Date: Wed, 22 Jul 2015 17:53:41 +0200 [thread overview]
Message-ID: <55AFBC85.1020908@canonical.com> (raw)
In-Reply-To: <4D68720C2E767A4AA6A8796D42C8EB59091CA987@BGSMSX101.gar.corp.intel.com>
On 2015-07-21 19:37, R, Durgadoss wrote:
> Hi David,
>
>> -----Original Message-----
>> From: Intel-gfx [mailto:intel-gfx-bounces@lists.freedesktop.org] On Behalf Of David Henningsson
>> Sent: Tuesday, July 21, 2015 1:27 PM
>> To: alsa-devel@alsa-project.org; intel-gfx@lists.freedesktop.org; tiwai@suse.de; Vetter, Daniel;
>> jani.nikula@linux.intel.com
>> Cc: Koul, Vinod; David Henningsson
>> Subject: [Intel-gfx] [PATCH 0/4] i915 to call hda driver on HDMI plug/unplug
>>
>> This patch set aims to resolve three problems:
>>
>> * The first - and most serious one - is that the audio driver is not woken up
>> properly when in power save modes, especially not when the HDA controller is
>> in D3. By having the i915 driver call directly into the hda driver, the HDA
>> driver is always notified that an HDMI hotplug event has happened.
>>
>> * Second, there is currently no way for userspace to match an HDMI audio output
>> with an HDMI video output. We fix this by sending connector_type and
>> connector_type_id in the HDMI hotplug callback.
>>
>> * Third, writing ELD info to the hardware just so the HDA driver can read it
>> from the hardware seems a bit inefficient. We could just pass that information
>> in the callback, too.
>>
>> The patch in its current form fixes the first of these problems and provides most
>> of the infrastructure for the second and third problem.
>>
>> The patch set is based on 4.2rc2 + my recent codec wakeup patch. So far, it has
>> been tested (and working) on one Skylake machine.
>
> I believe you tested these patches with hda driver after few cycles of D3.
> By any chance, did you also try this once after i915 driver's D3 cycle also ?
> In this case, can the check_presence_and_report() function get the
> pin presence and ELD valid bits read out properly..?
When running this code with drm.debug=0xe, I can see a lot of calls to
set different power wells on and off, to the extent that I don't keep
track of them.
So I assume that means that the i915 driver goes into D3 as well during
my tests.
--
David Henningsson, Canonical Ltd.
https://launchpad.net/~diwic
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
prev parent reply other threads:[~2015-07-22 15:53 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-21 7:57 [PATCH 0/4] i915 to call hda driver on HDMI plug/unplug David Henningsson
2015-07-21 7:57 ` [PATCH 1/4] drm/i915: Add audio hotplug info struct David Henningsson
2015-07-22 8:22 ` Takashi Iwai
2015-07-22 8:50 ` David Henningsson
2015-07-22 8:55 ` Takashi Iwai
2015-07-22 14:13 ` Vinod Koul
2015-07-22 17:52 ` David Henningsson
2015-07-22 20:31 ` Takashi Iwai
2015-07-23 3:43 ` Vinod Koul
2015-07-23 6:17 ` David Henningsson
2015-07-23 6:25 ` David Henningsson
2015-07-23 10:02 ` Takashi Iwai
2015-07-21 7:57 ` [PATCH 2/4] drm/i915: Call audio hotplug notify function David Henningsson
2015-07-21 9:14 ` Daniel Vetter
2015-07-21 14:26 ` David Henningsson
2015-07-21 7:57 ` [PATCH 3/4] ALSA: hda - Dispatch incoming HDMI hotplug i915 callback David Henningsson
2015-07-22 8:30 ` Takashi Iwai
2015-07-22 13:56 ` Vinod Koul
2015-07-22 14:01 ` Takashi Iwai
2015-07-21 7:57 ` [PATCH 4/4] ALSA: hda - Wake the codec up on hotplug notify events David Henningsson
2015-07-21 17:37 ` [PATCH 0/4] i915 to call hda driver on HDMI plug/unplug R, Durgadoss
2015-07-22 8:50 ` Takashi Iwai
2015-07-22 15:53 ` David Henningsson [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=55AFBC85.1020908@canonical.com \
--to=david.henningsson@canonical.com \
--cc=alsa-devel@alsa-project.org \
--cc=daniel.vetter@intel.com \
--cc=durgadoss.r@intel.com \
--cc=intel-gfx@lists.freedesktop.org \
--cc=jani.nikula@linux.intel.com \
--cc=tiwai@suse.de \
--cc=vinod.koul@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox