Mesa (master): intel/dump_gpu: fix --platform option

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Fri Aug 7 11:36:27 UTC 2020


Module: Mesa
Branch: master
Commit: a6a5b0e52eb954aa5f91ee5d748c25c983abb438
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a6a5b0e52eb954aa5f91ee5d748c25c983abb438

Author: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Date:   Wed Mar  4 17:38:48 2020 +0200

intel/dump_gpu: fix --platform option

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/2201>

---

 src/intel/tools/intel_dump_gpu.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/intel/tools/intel_dump_gpu.in b/src/intel/tools/intel_dump_gpu.in
index 3efa0d4c76e..0395af0a8eb 100755
--- a/src/intel/tools/intel_dump_gpu.in
+++ b/src/intel/tools/intel_dump_gpu.in
@@ -82,7 +82,7 @@ while true; do
             shift
             ;;
         --platform=*)
-            platform=${1##-p}
+            platform=${1##--platform=}
             add_arg "platform=${platform}"
             shift
             ;;



More information about the mesa-commit mailing list