From: "Sundaresan, Sujaritha" <sujaritha.sundaresan@intel.com>
To: Rodrigo Vivi <rodrigo.vivi@intel.com>, <igt-dev@lists.freedesktop.org>
Subject: Re: [igt-dev] [PATCH i-g-t 1/3] tests/intel/xe: Align change in the name of frequency sysfs attributes
Date: Wed, 6 Dec 2023 10:08:00 +0530 [thread overview]
Message-ID: <a10d6ab6-78d3-41e5-a2a5-c059e39769be@intel.com> (raw)
In-Reply-To: <20231205213814.179963-1-rodrigo.vivi@intel.com>
On 12/6/2023 3:08 AM, Rodrigo Vivi wrote:
> Aligns with kernel commit ("drm/xe: Change the name of frequency sysfs attributes")
>
> Cc: Sujaritha Sundaresan <sujaritha.sundaresan@intel.com>
> Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
> ---
> tests/intel/{xe_guc_pc.c => xe_gt_freq.c} | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
> rename tests/intel/{xe_guc_pc.c => xe_gt_freq.c} (98%)
>
> diff --git a/tests/intel/xe_guc_pc.c b/tests/intel/xe_gt_freq.c
> similarity index 98%
> rename from tests/intel/xe_guc_pc.c
> rename to tests/intel/xe_gt_freq.c
> index 3376e838f..a92833acb 100644
> --- a/tests/intel/xe_guc_pc.c
> +++ b/tests/intel/xe_gt_freq.c
> @@ -37,7 +37,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), "%s_freq", freq_name);
> gt_fd = xe_sysfs_gt_open(fd, gt_id);
> igt_assert(gt_fd >= 0);
>
> @@ -55,7 +55,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), "%s_freq", freq_name);
> gt_fd = xe_sysfs_gt_open(fd, gt_id);
> igt_assert(gt_fd >= 0);
>
This should be good to go in once the kernel changes have been merged.
LGTM.
Reviewed-by: Sujaritha Sundaresan <sujaritha.sundaresan@intel.com>
prev parent reply other threads:[~2023-12-06 4:38 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-05 21:38 [igt-dev] [PATCH i-g-t 1/3] tests/intel/xe: Align change in the name of frequency sysfs attributes Rodrigo Vivi
2023-12-05 21:38 ` [igt-dev] [PATCH i-g-t 2/3] tests/intel/xe: Align with new xe_gt_freq component Rodrigo Vivi
2023-12-06 12:45 ` Kamil Konieczny
2023-12-06 23:02 ` Rodrigo Vivi
2023-12-05 21:38 ` [igt-dev] [PATCH i-g-t 3/3] tests/intel/freq: Test throttle basic API infra Rodrigo Vivi
2023-12-06 4:44 ` Sundaresan, Sujaritha
2023-12-05 22:51 ` [igt-dev] ✗ Fi.CI.BAT: failure for series starting with [i-g-t,1/3] tests/intel/xe: Align change in the name of frequency sysfs attributes Patchwork
2023-12-06 0:13 ` [igt-dev] ✓ CI.xeBAT: success " Patchwork
2023-12-06 4:38 ` Sundaresan, Sujaritha [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=a10d6ab6-78d3-41e5-a2a5-c059e39769be@intel.com \
--to=sujaritha.sundaresan@intel.com \
--cc=igt-dev@lists.freedesktop.org \
--cc=rodrigo.vivi@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