[PATCH v2 i-g-t] man/lsgpu: Add man page for lsgpu

Kamil Konieczny kamil.konieczny at linux.intel.com
Tue Apr 1 12:37:07 UTC 2025


Hi Peter,
On 2025-03-29 at 15:36:06 +0100, Peter Senna Tschudin wrote:
> Add man page for lsgpu.
> 
> Cc: zbigniew.kempczynski at intel.com
> Cc: kamil.konieczny at linux.intel.com
> Closes: https://gitlab.freedesktop.org/drm/igt-gpu-tools/-/issues/172
> Signed-off-by: Peter Senna Tschudin <peter.senna at linux.intel.com>
> ---

Applied, thank you!

Regards,
Kamil

> 
> v2:
>  - Adds a newline after the SPDX identifier line
>  - Adds Zbigniew Kempczyński to Cc list
> 
>  man/lsgpu.rst   | 89 +++++++++++++++++++++++++++++++++++++++++++++++++
>  man/meson.build |  1 +
>  2 files changed, 90 insertions(+)
>  create mode 100644 man/lsgpu.rst
> 
> diff --git a/man/lsgpu.rst b/man/lsgpu.rst
> new file mode 100644
> index 000000000..a6dbec918
> --- /dev/null
> +++ b/man/lsgpu.rst
> @@ -0,0 +1,89 @@
> +.. SPDX-License-Identifier: MIT
> +
> +=====
> +lsgpu
> +=====
> +
> +-------------------------------------------------------------
> +List and inspect GPUs by scanning the PCI bus, DRM, and sysfs
> +-------------------------------------------------------------
> +.. include:: defs.rst
> +:Author: IGT Developers <igt-dev at lists.freedesktop.org>
> +:Date: 2025-03-27
> +:Version: |PACKAGE_STRING|
> +:Copyright: 2009,2011,2012,2016,2018,2019,2020,2023,2024,2025 Intel Corporation
> +:Manual section: |MANUAL_SECTION|
> +:Manual group: |MANUAL_GROUP|
> +
> +SYNOPSIS
> +========
> +
> +**lsgpu** [*OPTIONS*]
> +
> +DESCRIPTION
> +===========
> +
> +**lsgpu** is part of the **igt-gpu-tools** suite, and it is designed to assist in GPU enumeration and debugging. **lsgpu**  is a command-line tool for listing and inspecting GPUs available on the system. It scans the PCI bus, DRM subsystem, and sysfs to gather information about detected GPU devices and their properties.
> +
[...cut...]


More information about the igt-dev mailing list