From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 99492] [intel_gpu_tools] intel_gpu_frequency's parsing of parameters broken Date: Tue, 12 Jun 2018 14:09:33 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0234883475==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 1DF336E4E1 for ; Tue, 12 Jun 2018 14:09:33 +0000 (UTC) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0234883475== Content-Type: multipart/alternative; boundary="15288125730.36c7.2071" Content-Transfer-Encoding: 7bit --15288125730.36c7.2071 Date: Tue, 12 Jun 2018 14:09:33 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D99492 --- Comment #1 from Jani Nikula --- (In reply to Andreas Reis from comment #0) > At least in the case of -g, intel_gpu_frequency currently (1.16 & git) fa= ils > if there are parameters. With none it works. >=20 > 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:=20 http://patchwork.freedesktop.org/patch/msgid/20180612140544.7231-1-jani.nik= ula@intel.com > That and I couldn't compile until I disabled the assembler, I kept getting > lex.o: In function `yylex':=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20 >=20 > 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 thou= ght it was that important. :( --=20 You are receiving this mail because: You are the assignee for the bug.= --15288125730.36c7.2071 Date: Tue, 12 Jun 2018 14:09:33 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated

Comment= # 1 on bug 99492<= /a> from Jani Nikula
(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.
>=20
> Eg, the example's -gmin,cur yields "invalid option -- 'n'" a=
nd -gcur
> "Selected unmodifiable frequency".

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

Patch on the list to update the usage:=20

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':=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20
>=20
> 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 thou=
ght
it was that important. :(


You are receiving this mail because:
  • You are the assignee for the bug.
= --15288125730.36c7.2071-- --===============0234883475== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0234883475==--