From: Riana Tauro <riana.tauro@intel.com>
To: "Gupta, Anshuman" <anshuman.gupta@intel.com>,
"igt-dev@lists.freedesktop.org" <igt-dev@lists.freedesktop.org>
Cc: "Nilawar, Badal" <badal.nilawar@intel.com>
Subject: Re: [igt-dev] [PATCH i-g-t 1/2] tests/xe/xe_guc_pc: Remove rc6 tests
Date: Wed, 28 Jun 2023 11:54:36 +0530 [thread overview]
Message-ID: <d216666c-18b0-c7e7-be0a-fe6423867145@intel.com> (raw)
In-Reply-To: <CY5PR11MB621187FAD8B507D9EEB2FCB39524A@CY5PR11MB6211.namprd11.prod.outlook.com>
Hi Anshuman
On 6/28/2023 10:17 AM, Gupta, Anshuman wrote:
>
>
>> -----Original Message-----
>> From: Tauro, Riana <riana.tauro@intel.com>
>> Sent: Tuesday, June 27, 2023 3:57 PM
>> To: igt-dev@lists.freedesktop.org
>> Cc: Tauro, Riana <riana.tauro@intel.com>; Gupta, Anshuman
>> <anshuman.gupta@intel.com>; Dixit, Ashutosh <ashutosh.dixit@intel.com>;
>> Belgaumkar, Vinay <vinay.belgaumkar@intel.com>; Nilawar, Badal
>> <badal.nilawar@intel.com>; Sundaresan, Sujaritha
>> <sujaritha.sundaresan@intel.com>
>> Subject: [PATCH i-g-t 1/2] tests/xe/xe_guc_pc: Remove rc6 tests
>>
>> Remove these tests as sysfs paths have been changed and a generic naming
>> used
> Missing full stop.
>>
>> These tests will be moved to a different file
> May be it is better to squash this patch series to your existing rc6 patch series.
Sure will do that
Thanks
Riana
> Thanks,
> Anshuman Gupta.
>>
>> Signed-off-by: Riana Tauro <riana.tauro@intel.com>
>> ---
>> tests/xe/xe_guc_pc.c | 44 --------------------------------------------
>> 1 file changed, 44 deletions(-)
>>
>> diff --git a/tests/xe/xe_guc_pc.c b/tests/xe/xe_guc_pc.c index
>> 89d5ae9e..79359942 100644
>> --- a/tests/xe/xe_guc_pc.c
>> +++ b/tests/xe/xe_guc_pc.c
>> @@ -348,27 +348,6 @@ static void test_reset(int fd, int sysfs, int gt_id, int
>> cycles)
>> }
>> }
>>
>> -
>> -/**
>> - * SUBTEST: rc6_on_idle
>> - * Description: check if GPU is in RC6 on idle
>> - * Run type: BAT
>> - *
>> - * SUBTEST: rc0_on_exec
>> - * Description: check if GPU is in RC0 on when doing some work
>> - * Run type: BAT
>> - */
>> -
>> -static bool in_rc6(int sysfs, int gt_id) -{
>> - char path[32];
>> - char rc[8];
>> - sprintf(path, "device/gt%d/rc_status", gt_id);
>> - if (igt_sysfs_scanf(sysfs, path, "%s", rc) < 0)
>> - return false;
>> - return strcmp(rc, "rc6") == 0;
>> -}
>> -
>> igt_main
>> {
>> struct drm_xe_engine_class_instance *hwe; @@ -460,29 +439,6 @@
>> igt_main
>> }
>> }
>>
>> - igt_subtest("rc6_on_idle") {
>> - igt_require(!IS_PONTEVECCHIO(xe_dev_id(fd)));
>> - xe_for_each_gt(fd, gt) {
>> - assert(igt_wait(in_rc6(sysfs, gt), 1000, 1));
>> - }
>> - }
>> -
>> - igt_subtest("rc0_on_exec") {
>> - igt_require(!IS_PONTEVECCHIO(xe_dev_id(fd)));
>> - xe_for_each_gt(fd, gt) {
>> - assert(igt_wait(in_rc6(sysfs, gt), 1000, 1));
>> - xe_for_each_hw_engine(fd, hwe)
>> - igt_fork(child, ncpus) {
>> - igt_debug("Execution Started\n");
>> - exec_basic(fd, hwe,
>> MAX_N_ENGINES, 16);
>> - igt_debug("Execution Finished\n");
>> - }
>> - /* While exec in threads above, let's check rc_status
>> */
>> - assert(igt_wait(!in_rc6(sysfs, gt), 1000, 1));
>> - igt_waitchildren();
>> - }
>> - }
>> -
>> igt_fixture {
>> xe_for_each_gt(fd, gt) {
>> set_freq(sysfs, gt, "min", stash_min);
>> --
>> 2.40.0
>
next prev parent reply other threads:[~2023-06-28 6:24 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-27 10:26 [igt-dev] [PATCH i-g-t 0/2] Remove rc6 tests Riana Tauro
2023-06-27 10:26 ` [igt-dev] [PATCH i-g-t 1/2] tests/xe/xe_guc_pc: " Riana Tauro
2023-06-28 4:47 ` Gupta, Anshuman
2023-06-28 6:24 ` Riana Tauro [this message]
2023-06-27 10:26 ` [igt-dev] [PATCH i-g-t 2/2] xe-fast-feedback.testlist: Remove rc6 tests from BAT Riana Tauro
2023-06-27 11:59 ` [igt-dev] ✓ Fi.CI.BAT: success for Remove rc6 tests Patchwork
2023-06-27 23:07 ` [igt-dev] ✗ Fi.CI.IGT: failure " 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=d216666c-18b0-c7e7-be0a-fe6423867145@intel.com \
--to=riana.tauro@intel.com \
--cc=anshuman.gupta@intel.com \
--cc=badal.nilawar@intel.com \
--cc=igt-dev@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: 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