Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Riana Tauro <riana.tauro@intel.com>
To: Karthik Poosa <karthik.poosa@intel.com>, <igt-dev@lists.freedesktop.org>
Subject: Re: [igt-dev] [PATCH i-g-t] tests/intel: Add changes to use new sysfs frequency entries by xe
Date: Mon, 20 Nov 2023 22:34:03 +0530	[thread overview]
Message-ID: <0f83d645-e477-49ea-a6c1-9aaa5fc948a5@intel.com> (raw)
In-Reply-To: <20231120143635.105731-1-karthik.poosa@intel.com>

Hi Karthik

add the test prefix to the subject

tests/intel: Add changes to use new sysfs frequency entries by xe
            ^ xe_guc_pc                                     ^remove by xe


Thanks
Riana
On 11/20/2023 8:06 PM, Karthik Poosa wrote:
> Updated xe set_freq and get_freq definitions to use new sysfs entries.
> The new entries will be under sub-directory freq.
> Names of the entries have also changed. They will be suffixed with _freq
> i.e /device/tile<n>/gt<n>/freq/*_freq instead of prefix.
> 
> Signed-off-by: Karthik Poosa <karthik.poosa@intel.com>
> ---
>   tests/intel/xe_guc_pc.c | 4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/tests/intel/xe_guc_pc.c b/tests/intel/xe_guc_pc.c
> index fa2f20cca..bb6344449 100644
> --- a/tests/intel/xe_guc_pc.c
> +++ b/tests/intel/xe_guc_pc.c
> @@ -141,7 +141,7 @@ static int set_freq(int fd, int gt_id, const char *freq_name, uint32_t freq)
>   	char freq_attr[16];
>   	int gt_fd;
>   
> -	snprintf(freq_attr, sizeof(freq_attr), "freq_%s", freq_name);
> +	snprintf(freq_attr, sizeof(freq_attr), "freq/%s_freq", freq_name);
>   	gt_fd = xe_sysfs_gt_open(fd, gt_id);
>   	igt_assert(gt_fd >= 0);
>   
> @@ -159,7 +159,7 @@ static uint32_t get_freq(int fd, int gt_id, const char *freq_name)
>   	char freq_attr[16];
>   	int gt_fd;
>   
> -	snprintf(freq_attr, sizeof(freq_attr), "freq_%s", freq_name);
> +	snprintf(freq_attr, sizeof(freq_attr), "freq/%s_freq", freq_name);
>   	gt_fd = xe_sysfs_gt_open(fd, gt_id);
>   	igt_assert(gt_fd >= 0);
>   

  reply	other threads:[~2023-11-20 17:04 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-20 14:36 [igt-dev] [PATCH i-g-t] tests/intel: Add changes to use new sysfs frequency entries by xe Karthik Poosa
2023-11-20 17:04 ` Riana Tauro [this message]
2023-11-20 19:49 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
2023-11-20 19:56 ` [igt-dev] ✓ CI.xeBAT: " Patchwork
2023-11-22  6:24 ` [igt-dev] [PATCH i-g-t] " Gupta, Anshuman
2023-11-22  6:51   ` Dixit, Ashutosh
2023-11-22 13:10 ` [igt-dev] ✓ Fi.CI.BAT: success for tests/intel: Add changes to use new sysfs frequency entries by xe (rev2) Patchwork
2023-11-22 14:42 ` [igt-dev] ✓ CI.xeBAT: " Patchwork
2023-11-23  5:41 ` [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=0f83d645-e477-49ea-a6c1-9aaa5fc948a5@intel.com \
    --to=riana.tauro@intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    --cc=karthik.poosa@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