From: "Juha-Pekka Heikkilä" <juhapekka.heikkila@gmail.com>
To: Swati Sharma <swati2.sharma@intel.com>, igt-dev@lists.freedesktop.org
Subject: Re: [PATCH i-g-t 2/3] tests/intel/kms_hdmi_audio_bw: Use hibernate helper
Date: Wed, 25 Nov 2026 13:18:46 +0200 [thread overview]
Message-ID: <f2198c67-1396-4662-a936-9744f1e423fe@gmail.com> (raw)
In-Reply-To: <20261120134400.1888895-3-swati2.sharma@intel.com>
Reviewed-by: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
On 20/11/2026 15.43, Swati Sharma wrote:
> Use igt_system_hibernate_autoresume() for suspend-to-disk audio
> recovery. Keep the existing suspend helper for other suspend states.
>
> Signed-off-by: Swati Sharma <swati2.sharma@intel.com>
> ---
> tests/intel/kms_hdmi_audio_bw.c | 5 ++++-
> 1 file changed, 4 insertions(+), 1 deletion(-)
>
> diff --git a/tests/intel/kms_hdmi_audio_bw.c b/tests/intel/kms_hdmi_audio_bw.c
> index c6b052744..31a7f2949 100644
> --- a/tests/intel/kms_hdmi_audio_bw.c
> +++ b/tests/intel/kms_hdmi_audio_bw.c
> @@ -530,7 +530,10 @@ static void test_audio_recovery(data_t *data, enum igt_suspend_state state,
> data->output->config.connector,
> DRM_MODE_DPMS_ON);
> } else {
> - igt_system_suspend_autoresume(state, SUSPEND_TEST_NONE);
> + if (state == SUSPEND_STATE_DISK)
> + igt_system_hibernate_autoresume();
> + else
> + igt_system_suspend_autoresume(state, SUSPEND_TEST_NONE);
> }
>
> wait_for_eld();
next prev parent reply other threads:[~2026-11-25 11:20 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-20 13:43 [PATCH i-g-t 0/3] Add hibernate autoresume helper and test coverage Swati Sharma
2026-11-20 13:43 ` [PATCH i-g-t 1/3] lib/igt_aux: Add hibernate autoresume helper Swati Sharma
2026-11-25 11:18 ` Juha-Pekka Heikkilä
2026-11-20 13:43 ` [PATCH i-g-t 2/3] tests/intel/kms_hdmi_audio_bw: Use hibernate helper Swati Sharma
2026-11-25 11:18 ` Juha-Pekka Heikkilä [this message]
2026-11-20 13:44 ` [PATCH i-g-t 3/3] tests/intel/kms_hdmi_audio_bw: Gate hibernate test Swati Sharma
2026-11-25 11:19 ` Juha-Pekka Heikkilä
2026-11-20 20:42 ` ✓ Xe.CI.BAT: success for Add hibernate autoresume helper and test coverage Patchwork
2026-11-20 21:08 ` ✓ i915.CI.BAT: " Patchwork
2026-11-22 0:37 ` ✗ i915.CI.Full: failure " Patchwork
2026-11-22 14:10 ` ✗ Xe.CI.FULL: " Patchwork
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=f2198c67-1396-4662-a936-9744f1e423fe@gmail.com \
--to=juhapekka.heikkila@gmail.com \
--cc=igt-dev@lists.freedesktop.org \
--cc=swati2.sharma@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