Message ID | 20181003120718.6898-1-tvrtko.ursulin@linux.intel.com (mailing list archive) |
---|---|
Headers | show
Return-Path: <intel-gfx-bounces@lists.freedesktop.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 7AB0A14BD for <patchwork-intel-gfx@patchwork.kernel.org>; Wed, 3 Oct 2018 12:07:30 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6276728942 for <patchwork-intel-gfx@patchwork.kernel.org>; Wed, 3 Oct 2018 12:07:30 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 547A82896A; Wed, 3 Oct 2018 12:07:30 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id BFD4228942 for <patchwork-intel-gfx@patchwork.kernel.org>; Wed, 3 Oct 2018 12:07:29 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 577E46E44E; Wed, 3 Oct 2018 12:07:27 +0000 (UTC) X-Original-To: Intel-gfx@lists.freedesktop.org Delivered-To: Intel-gfx@lists.freedesktop.org Received: from mail-wm1-x343.google.com (mail-wm1-x343.google.com [IPv6:2a00:1450:4864:20::343]) by gabe.freedesktop.org (Postfix) with ESMTPS id 6B8A26E44B for <Intel-gfx@lists.freedesktop.org>; Wed, 3 Oct 2018 12:07:25 +0000 (UTC) Received: by mail-wm1-x343.google.com with SMTP id z204-v6so4546196wmc.5 for <Intel-gfx@lists.freedesktop.org>; Wed, 03 Oct 2018 05:07:25 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=A/qpGK+JVq+aetp/Fybm1wEBgAu7lGEremC3TWg6bbI=; b=DyEfMYhAwur+om84z95PSL9Qag6kfA87VkpetdNvT/h+YU4T9uAog2ZW1fIX/u2045 rBu8m/QkSPhgOnq3WwxW54qL/nJzD29I8/ns01/zFMBVj1qU1cfhiwM/2r8wVpK+rVt6 FO8NQ2Pw9BGDnBrNTB0n+I534WC7IDgf92Pn6o8Ze7cxWMKf1MTuSQONUqsaKg0e0YV8 FyTPqmpUhlzZ+SzEDU+InDb1xWcOTSE/LJ16GbTTfsd52tPidDduHR0VGoP+4Oe/Voyu /TCtWwlfDBPS7th9wgrS+V7VtoysD1BzvYN1kZxeUdlgi0acaLf2gR5F6EKZ5vcThQ0U 09qw== X-Gm-Message-State: ABuFfoh3n8HEEuSBPXyqb0w+epcdWIY8reG3dIdUcta/nIz1mVO5mCGP 6hcSYjodb3VOsVjlxSdji2nglA== X-Google-Smtp-Source: ACcGV61a9Ago4447C8/vO+Sq29aeyTzr+YrDex+nZzvDulCP24BSGv5ULXzDDFu5qZDKr+i8+/Leeg== X-Received: by 2002:a1c:2dc5:: with SMTP id t188-v6mr1211089wmt.94.1538568443924; Wed, 03 Oct 2018 05:07:23 -0700 (PDT) Received: from localhost.localdomain ([95.144.165.37]) by smtp.gmail.com with ESMTPSA id u191-v6sm1627707wmd.31.2018.10.03.05.07.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 03 Oct 2018 05:07:23 -0700 (PDT) From: Tvrtko Ursulin <tursulin@ursulin.net> X-Google-Original-From: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com> To: igt-dev@lists.freedesktop.org Date: Wed, 3 Oct 2018 13:07:12 +0100 Message-Id: <20181003120718.6898-1-tvrtko.ursulin@linux.intel.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Subject: [Intel-gfx] [RFC i-g-t 0/6] 21st century intel_gpu_top & Co. X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Intel graphics driver community testing & development <intel-gfx.lists.freedesktop.org> List-Unsubscribe: <https://lists.freedesktop.org/mailman/options/intel-gfx>, <mailto:intel-gfx-request@lists.freedesktop.org?subject=unsubscribe> List-Archive: <https://lists.freedesktop.org/archives/intel-gfx> List-Post: <mailto:intel-gfx@lists.freedesktop.org> List-Help: <mailto:intel-gfx-request@lists.freedesktop.org?subject=help> List-Subscribe: <https://lists.freedesktop.org/mailman/listinfo/intel-gfx>, <mailto:intel-gfx-request@lists.freedesktop.org?subject=subscribe> Cc: Intel-gfx@lists.freedesktop.org Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" <intel-gfx-bounces@lists.freedesktop.org> X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
21st century intel_gpu_top & Co.
|
expand
|
From: Tvrtko Ursulin <tvrtko.ursulin@intel.com> IGT patches accompanying the similary named i915 series. Most notably to sketch an improved intel_gpu_top which now, like the real top, can show the per client engine utilisation: intel-gpu-top - load avg 3.30, 1.51, 0.08; 949/ 949 MHz; 0% RC6; 14.66 Watts; 3605 irqs/s IMC reads: 4651 MiB/s IMC writes: 25 MiB/s ENGINE BUSY Q r R MI_SEMA MI_WAIT Render/3D/0 61.51% |█████████████████████████████████████████████▌ | 3 0 1 0% 0% Blitter/0 0.00% | | 0 0 0 0% 0% Video/0 60.86% |█████████████████████████████████████████████ | 1 0 1 0% 0% Video/1 59.04% |███████████████████████████████████████████▋ | 1 0 1 0% 0% VideoEnhance/0 0.00% | | 0 0 0 0% 0% PID NAME Render/3D/0 Blitter/0 Video/0 Video/1 VideoEnhance/0 23373 gem_wsim |█████▎ || ||████████▍ ||█████▎ || | 23374 gem_wsim |███▉ || ||██▏ ||███ || | 23375 gem_wsim |███ || ||█▍ ||███▌ || | Tvrtko Ursulin (6): include: DRM uAPI headers update intel-gpu-overlay: Add engine queue stats intel-gpu-overlay: Show 1s, 30s and 15m GPU load tests/perf_pmu: Add tests for engine queued/runnable/running stats intel-gpu-top: Add queue depths and load average intel-gpu-top: Support for client stats include/drm-uapi/amdgpu_drm.h | 52 +++- include/drm-uapi/drm.h | 16 ++ include/drm-uapi/drm_fourcc.h | 215 ++++++++++++++ include/drm-uapi/drm_mode.h | 26 +- include/drm-uapi/etnaviv_drm.h | 6 + include/drm-uapi/exynos_drm.h | 240 ++++++++++++++++ include/drm-uapi/i915_drm.h | 49 +++- include/drm-uapi/msm_drm.h | 2 + include/drm-uapi/tegra_drm.h | 492 ++++++++++++++++++++++++++++++++- include/drm-uapi/v3d_drm.h | 194 +++++++++++++ include/drm-uapi/vc4_drm.h | 13 +- include/drm-uapi/virtgpu_drm.h | 1 + include/drm-uapi/vmwgfx_drm.h | 166 ++++++++--- overlay/gpu-top.c | 81 +++++- overlay/gpu-top.h | 22 +- overlay/overlay.c | 35 ++- tests/perf_pmu.c | 259 +++++++++++++++++ tools/Makefile.am | 2 +- tools/intel_gpu_top.c | 480 ++++++++++++++++++++++++++++++-- tools/meson.build | 2 +- 20 files changed, 2264 insertions(+), 89 deletions(-) create mode 100644 include/drm-uapi/v3d_drm.h