From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=3.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 37218C433B4 for ; Mon, 17 May 2021 11:57:19 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id F02E5611BF for ; Mon, 17 May 2021 11:57:18 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org F02E5611BF Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=intel-gfx-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 2E0B76E938; Mon, 17 May 2021 11:57:12 +0000 (UTC) Received: from mail-wm1-x32e.google.com (mail-wm1-x32e.google.com [IPv6:2a00:1450:4864:20::32e]) by gabe.freedesktop.org (Postfix) with ESMTPS id 6F0F28916A for ; Sat, 15 May 2021 10:40:17 +0000 (UTC) Received: by mail-wm1-x32e.google.com with SMTP id z19-20020a7bc7d30000b029017521c1fb75so377285wmk.0 for ; Sat, 15 May 2021 03:40:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:subject:from:to:date:in-reply-to:user-agent:mime-version :content-transfer-encoding; bh=LiqtW1rxKd2wxF0v91301x2oCEy45/UYqTUyOCprkA8=; b=PZHjFLuOyy+uhuSSHCXi+h5f1pelSIZNs5QdGw3Cs7gyKcEnz1Rw/eSrHXYbDz1JR6 IsuqWAmP4mzMuwPWhNaVZbf2tNCXpcXdvHXMsRLCnTXKquE7ix+tAYORdDrPyKpJK/ww 0BSGd/GZYHww+YobuoHKBrVXaRxDgS4czrYNbufnf8tfM67ylyk0vr9QIzM2sfsMgYp4 zPJQJR2QBg4KUyKq1BTxKchmjkA9oOTVTdnBoiTq2q4A8o8MHciuhOVuYFPacUhlMVSr 1GWliGUGuE+TPPOApgQvRzaGKnghqJOhlVmuzGdL/tUfBOpZvyhptTu4iqTa1E1OdcHu WWng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:date:in-reply-to :user-agent:mime-version:content-transfer-encoding; bh=LiqtW1rxKd2wxF0v91301x2oCEy45/UYqTUyOCprkA8=; b=TMW8gNRmoDUXFbQ36us53nuElI8L3L8nV/JNZt1jo3EIlc7DAdlerYUePcUL/v5nd3 wTZPyelnDgMdWbAFw+dD1iDTDuOjA2Uw3MSCwm9omu2hEOr2dBSZeU0qCkJhTTsVJwSh rfi0oFWbRjR1F9XHFXnA/fmEb6xjAOQnUSJ0uoKq/pPNIzl5kqXKgNvBRRliJEyBW7UR NIULnPw7aLyocOHhXp55F+Xf35bQBZ8Ioc5on74u9HnuRLNgnqtTRCkaIbmXZXeDgOFI 20TdqMKsu5v+cmrMl+YUJJzvvEQC/r5yvsOzSs8CUhWICxwMGmEWfa/Wy2E5i/+opoNS WUwQ== X-Gm-Message-State: AOAM532A2iBdnb7ngNCevKCcTiBCsZltMtiK1WGAdQyNe2UhgS4AhRAP DPcBWMIHLOcMnVnftS/3npY5q6Q9Fpo= X-Google-Smtp-Source: ABdhPJwYqtRho6iU7Ga9M0vzwpY5z8sYnSTQuIU8zl8thKTJKH+95AFgWXq7OOIPoAIG48mfJJ9sww== X-Received: by 2002:a7b:c8cb:: with SMTP id f11mr13928943wml.163.1621075216106; Sat, 15 May 2021 03:40:16 -0700 (PDT) Received: from ?IPv6:2a01:e0a:4ed:6210:bc33:ae04:4495:a2f6? ([2a01:e0a:4ed:6210:bc33:ae04:4495:a2f6]) by smtp.gmail.com with ESMTPSA id u16sm7799446wmj.27.2021.05.15.03.40.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 15 May 2021 03:40:15 -0700 (PDT) Message-ID: From: Maxime Schmitt To: intel-gfx@lists.freedesktop.org Date: Sat, 15 May 2021 12:40:14 +0200 In-Reply-To: <6cf2f14a-6a16-5ea3-d307-004faad4cc79@linux.intel.com> User-Agent: Evolution 3.38.4 (3.38.4-1.fc33) MIME-Version: 1.0 X-Mailman-Approved-At: Mon, 17 May 2021 11:57:02 +0000 Subject: Re: [Intel-gfx] [PATCH 0/7] Per client engine busyness X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" Hi, Nice to see something like this being worked on. I wrote a top-like tool some time back (nvtop). I targeted NVIDIA, because it was the GPU I had at the time. Also, their driver provides a nice library to retrieve the information from (NVML). Seeing this thread I think it would be nice to support more vendors now that the information is available. I took a look at the DRM documentation, but I am only finding the in- kernel functions and not what is being exposed to user space. Maybe I am searching at the wrong place. Is there some documentation, from the user space point of view, on the way to discover the GPUs and the metrics that are exposed? Regards, Maxime _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/intel-gfx