Re: [PATCH i-g-t 08/11] tests/perf: load gt_boost_freq_mhz as max gt frequency

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2017-08-04 at 12:20 +0100, Lionel Landwerlin wrote:
> We want the absolute max the hardware can do, not the max value
> set by a previous application/user.
> 
> Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@xxxxxxxxx>
> ---
>  tests/perf.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tests/perf.c b/tests/perf.c
> index 6c0af32d..6be9f552 100644
> --- a/tests/perf.c
> +++ b/tests/perf.c
> @@ -1141,7 +1141,7 @@ static void
>  gt_frequency_range_save(void)
>  {
>  	gt_min_freq_mhz_saved = sysfs_read("gt_min_freq_mhz");
> -	gt_max_freq_mhz_saved = sysfs_read("gt_max_freq_mhz");
> +	gt_max_freq_mhz_saved = sysfs_read("gt_boost_freq_mhz");
gt_boost_freq_mhz if I remember correctly also can be set by the user - it has
nothing to do with max hardware capabilities.

Radek
>  
>  	gt_min_freq_mhz = gt_min_freq_mhz_saved;
>  	gt_max_freq_mhz = gt_max_freq_mhz_saved;
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux