[igt-dev] [PATCH i-g-t] gem_ctx_freq: Remove reference to non-existent sysfs entry
Dixit, Ashutosh
ashutosh.dixit at intel.com
Thu Mar 9 20:04:44 UTC 2023
On Thu, 09 Mar 2023 11:48:41 -0800, Vinay Belgaumkar wrote:
>
> The entry for gt_idle_freq_mhz does not exist.
>
> Fixes: d1ea62b3f759 (igt: Add gem_ctx_freq to exercise requesting freq via sysfs)
Reviewed-by: Ashutosh Dixit <ashutosh.dixit at intel.com>
>
> Cc: Umesh Nerlige Ramappa <umesh.nerlige.ramappa at intel.com>
> Signed-off-by: Vinay Belgaumkar <vinay.belgaumkar at intel.com>
> ---
> tests/i915/gem_ctx_freq.c | 4 +---
> 1 file changed, 1 insertion(+), 3 deletions(-)
>
> diff --git a/tests/i915/gem_ctx_freq.c b/tests/i915/gem_ctx_freq.c
> index a29fe68b..18e736c7 100644
> --- a/tests/i915/gem_ctx_freq.c
> +++ b/tests/i915/gem_ctx_freq.c
> @@ -174,10 +174,8 @@ static void restore_sysfs_freq(int sig)
> {
> char buf[256];
>
> - if (igt_sysfs_read(sysfs, "gt_RPn_freq_mhz", buf, sizeof(buf)) > 0) {
> - igt_sysfs_set(sysfs, "gt_idle_freq_mhz", buf);
> + if (igt_sysfs_read(sysfs, "gt_RPn_freq_mhz", buf, sizeof(buf)) > 0)
> igt_sysfs_set(sysfs, "gt_min_freq_mhz", buf);
> - }
>
> if (igt_sysfs_read(sysfs, "gt_RP0_freq_mhz", buf, sizeof(buf)) > 0) {
> igt_sysfs_set(sysfs, "gt_max_freq_mhz", buf);
> --
> 2.38.1
>
More information about the igt-dev
mailing list