Linux Sound subsystem development
 help / color / mirror / Atom feed
From: Kai Vehmanen <kai.vehmanen@linux.intel.com>
To: Yogesh Gaur <yogesh.gaur@intel.com>
Cc: Takashi Iwai <tiwai@suse.com>,
	linux-sound@vger.kernel.org,  Jaroslav Kysela <perex@perex.cz>,
	 Kai Vehmanen <kai.vehmanen@linux.intel.com>,
	stable@vger.kernel.org
Subject: Re: [PATCH 1/2] ALSA: hda/hdmi: intelhdmi: Skip ELD notification during hibernation freeze
Date: Fri, 4 Dec 2026 14:19:56 +0200 (EET)	[thread overview]
Message-ID: <d1f65f38-2ba0-bc72-9ce5-1f7099b8c08d@linux.intel.com> (raw)
In-Reply-To: <20261204121330.785676-1-yogesh.gaur@intel.com>

Hey,

On Fri, 4 Dec 2026, Yogesh Gaur wrote:

> intel_pin_eld_notify() skips ELD notifications in PM_EVENT_SUSPEND but
> not in PM_EVENT_FREEZE. On hibernation restore, i915 resumes before the
> codec, so the notification enables the silent stream on a codec whose
> controller is not restored yet. The verbs time out and resume takes
> about 35 seconds longer on Meteor Lake.
> 
> Skip the notification in FREEZE too, as is done for SUSPEND.
[...]
> --- a/sound/hda/codecs/hdmi/intelhdmi.c
> +++ b/sound/hda/codecs/hdmi/intelhdmi.c
> @@ -166,7 +166,8 @@ static void intel_pin_eld_notify(void *audio_ptr, int port, int pipe)
>  	/* skip notification during system suspend (but not in runtime PM);
>  	 * the state will be updated at resume
>  	 */
> -	if (codec->core.dev.power.power_state.event == PM_EVENT_SUSPEND)
> +	if (codec->core.dev.power.power_state.event == PM_EVENT_SUSPEND ||
> +	    codec->core.dev.power.power_state.event == PM_EVENT_FREEZE)
>  		return;

thanks, looks good:
Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>

Br, Kai

      parent reply	other threads:[~2026-12-04 12:32 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-04 12:13 [PATCH 1/2] ALSA: hda/hdmi: intelhdmi: Skip ELD notification during hibernation freeze Yogesh Gaur
2026-12-04 12:13 ` [PATCH 2/2] ALSA: hda/hdmi: intelhdmi: Request resume when skipping ELD notification Yogesh Gaur
2026-12-04 14:03   ` sashiko-bot
2026-12-04 17:27   ` Kai Vehmanen
2026-12-04 12:19 ` Kai Vehmanen [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=d1f65f38-2ba0-bc72-9ce5-1f7099b8c08d@linux.intel.com \
    --to=kai.vehmanen@linux.intel.com \
    --cc=linux-sound@vger.kernel.org \
    --cc=perex@perex.cz \
    --cc=stable@vger.kernel.org \
    --cc=tiwai@suse.com \
    --cc=yogesh.gaur@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