From: Anshuman Gupta <anshuman.gupta@intel.com> To: intel-gfx@lists.freedesktop.org, igt-dev@lists.freedesktop.org Subject: [PATCH i-g-t 2/2] tests/i915/i915_pm_rpm: modeset-pc8-residency-stress Date: Wed, 6 Mar 2019 17:39:30 +0530 [thread overview] Message-ID: <1551874170-32222-3-git-send-email-anshuman.gupta@intel.com> (raw) In-Reply-To: <1551874170-32222-1-git-send-email-anshuman.gupta@intel.com> Introduced pc8_needs_screen_off flag in order to differentiate between HASWELL/BROADWEEL and AT_LEAST_GEN9. GEN9 onwards PC8+ residency does't require display to be turned on. Signed-off-by: Anshuman Gupta <anshuman.gupta@intel.com> --- tests/i915/i915_pm_rpm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/i915/i915_pm_rpm.c b/tests/i915/i915_pm_rpm.c index af7a5d0..cd891db 100644 --- a/tests/i915/i915_pm_rpm.c +++ b/tests/i915/i915_pm_rpm.c @@ -902,7 +902,7 @@ static void modeset_subtest(enum screen_type type, int rounds, int wait_flags) igt_require(enable_one_screen_with_type(&ms_data, type)); if (wait_flags & WAIT_STATUS) igt_assert(wait_for_active()); - if (wait_flags & WAIT_PC8_RES) + if (wait_flags & WAIT_PC8_RES && ms_data.pc8_needs_screen_off) igt_assert(!pc8_plus_residency_changed(5)); if (wait_flags & WAIT_EXTRA) sleep(5); -- 2.7.4 _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/intel-gfx
WARNING: multiple messages have this Message-ID (diff)
From: Anshuman Gupta <anshuman.gupta@intel.com> To: intel-gfx@lists.freedesktop.org, igt-dev@lists.freedesktop.org Cc: anshuman.gupta@intel.com Subject: [igt-dev] [PATCH i-g-t 2/2] tests/i915/i915_pm_rpm: modeset-pc8-residency-stress Date: Wed, 6 Mar 2019 17:39:30 +0530 [thread overview] Message-ID: <1551874170-32222-3-git-send-email-anshuman.gupta@intel.com> (raw) In-Reply-To: <1551874170-32222-1-git-send-email-anshuman.gupta@intel.com> Introduced pc8_needs_screen_off flag in order to differentiate between HASWELL/BROADWEEL and AT_LEAST_GEN9. GEN9 onwards PC8+ residency does't require display to be turned on. Signed-off-by: Anshuman Gupta <anshuman.gupta@intel.com> --- tests/i915/i915_pm_rpm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/i915/i915_pm_rpm.c b/tests/i915/i915_pm_rpm.c index af7a5d0..cd891db 100644 --- a/tests/i915/i915_pm_rpm.c +++ b/tests/i915/i915_pm_rpm.c @@ -902,7 +902,7 @@ static void modeset_subtest(enum screen_type type, int rounds, int wait_flags) igt_require(enable_one_screen_with_type(&ms_data, type)); if (wait_flags & WAIT_STATUS) igt_assert(wait_for_active()); - if (wait_flags & WAIT_PC8_RES) + if (wait_flags & WAIT_PC8_RES && ms_data.pc8_needs_screen_off) igt_assert(!pc8_plus_residency_changed(5)); if (wait_flags & WAIT_EXTRA) sleep(5); -- 2.7.4 _______________________________________________ igt-dev mailing list igt-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/igt-dev
next prev parent reply other threads:[~2019-03-06 12:09 UTC|newest] Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top 2019-03-06 12:09 [PATCH i-g-t 0/2] Enabling PC8+ residency for all GEN9+ platforms Anshuman Gupta 2019-03-06 12:09 ` [igt-dev] " Anshuman Gupta 2019-03-06 12:09 ` [PATCH i-g-t 1/2] tests/i915/i915_pm_rpm: Enable PC8+ residency test for ICL Anshuman Gupta 2019-03-06 12:09 ` [Intel-gfx] " Anshuman Gupta 2019-03-06 12:09 ` Anshuman Gupta [this message] 2019-03-06 12:09 ` [igt-dev] [PATCH i-g-t 2/2] tests/i915/i915_pm_rpm: modeset-pc8-residency-stress Anshuman Gupta 2019-03-06 13:13 ` [igt-dev] ✓ Fi.CI.BAT: success for Enabling PC8+ residency for all GEN9+ platforms Patchwork 2019-03-06 17:44 ` [igt-dev] ✓ Fi.CI.IGT: " 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=1551874170-32222-3-git-send-email-anshuman.gupta@intel.com \ --to=anshuman.gupta@intel.com \ --cc=igt-dev@lists.freedesktop.org \ --cc=intel-gfx@lists.freedesktop.org \ /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: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.