Skip to contentSkip to conversation

intel_gpu_frequency's parsing of parameters broken

Bug 99492 [email protected] 1 participant 4 messages Jan 23, 2017 – Jun 12, 2018 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]/

#1 lore raw

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

yann <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

           Assignee|[email protected] |[email protected]
                   |sktop.org                   |.org
         QA Contact|[email protected] |
                   |sktop.org                   |
          Component|DRM/Intel                   |IGT
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw
In reply to a message not in the archive

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

--- Comment #1 from Jani Nikula <[email protected]> --- (In reply to Andreas Reis from comment #0)

Quoted 5 lines

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/[email protected]

Quoted 4 lines

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. :(

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#3 lore raw
In reply to a message not in the archive

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

Jani Nikula <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #2 from Jani Nikula <[email protected]> --- Fix pushed to igt:

commit 95bfb2902473b9f4e644c3eb831fdf110d87ed4f

Author: Jani Nikula <[email protected]>
Date:   Tue Jun 12 17:02:11 2018 +0300

tools/intel_gpu_frequency: fix usage and examples

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#4 lore raw
In reply to a message not in the archive

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

Jani Nikula <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |CLOSED

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel