[Intel-gfx] [PATCH 2/2] intel_frequency: A tool to manipulate Intel GPU frequency

Jordan Justen jordan.l.justen at intel.com
Sun Jan 11 09:54:02 PST 2015


On 2015-01-10 20:19:29, Ben Widawsky wrote:
> +       printf("Usage: %s [-ef] [--min | --max] [-g (min|max|efficient)][-s frequency_mhz]\n\n", prog);

-ef => -f

Add space before [-s

> +       printf("%s A program to manipulate Intel GPU frequencies.\n\n", prog);
> +       printf("Options: \n");
> +       printf("  -e            Lock frequency to the most efficient frequency\n");
> +       printf("  -g, --get=    Get the frequency (optional arg: \"cur\"|\"min\"|\"max\"|\"eff\")\n");
> +       printf("  -s, --set     Lock frequency to an absolute value (MHz)\n");
> +       printf("  -c, --custom  Set a min, or max frequency \"min=X | max=Y\"\n");
> +       printf("  -m  --max     Lock frequency to max frequency\n");
> +       printf("      --min     Lock frequency to min (never a good idea, DEBUG ONLY)\n");
> +       printf("Examples:\n");
> +       printf("    intel_frequency -gmin,cur Get the current and minimum frequency\n");
> +       printf("    intel_frequency -s 400    Lock frequency to 400Mhz\n");

Add -c example?

Series Reviewed-by: Jordan Justen <jordan.l.justen at intel.com>


More information about the Intel-gfx mailing list