[Bug 99492] [intel_gpu_tools] intel_gpu_frequency's parsing of parameters broken

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Jun 12 14:09:33 UTC 2018


https://bugs.freedesktop.org/show_bug.cgi?id=99492

--- Comment #1 from Jani Nikula <jani.nikula at intel.com> ---
(In reply to Andreas Reis from comment #0)
> At least in the case of -g, intel_gpu_frequency currently (1.16 & git) fails
> if there are parameters. With none it works.
> 
> Eg, the example's -gmin,cur yields "invalid option -- 'n'" and -gcur
> "Selected unmodifiable frequency".

-g|--get suboptions have been removed in commit 20d6e0f41b3b
("tools/intel_gpu_frequency: remove use of getsubopt") but the quick usage
wasn't updated. Just use without suboptions.

Patch on the list to update the usage: 

http://patchwork.freedesktop.org/patch/msgid/20180612140544.7231-1-jani.nikula@intel.com

> That and I couldn't compile until I disabled the assembler, I kept getting
> lex.o: In function `yylex':                                                 
> 
> lex.c:(.text+0x3c8f): undefined reference to `yywrap'

Unrelated, please file a new bug if this persists with the current git.

Apologies for this staying below the radar for so long; I guess nobody thought
it was that important. :(

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20180612/9e628d07/attachment-0001.html>


More information about the dri-devel mailing list