[PATCH v3 10/13] drm/xe/configfs: Use tree-like output in documentation

Bhadane, Dnyaneshwar dnyaneshwar.bhadane at intel.com
Thu Aug 14 21:31:31 UTC 2025



> -----Original Message-----
> From: De Marchi, Lucas <lucas.demarchi at intel.com>
> Sent: Friday, August 8, 2025 11:00 PM
> To: intel-xe at lists.freedesktop.org
> Cc: De Marchi, Lucas <lucas.demarchi at intel.com>; Kumar, Prashanth
> <prashanth.kumar at intel.com>; Bhadane, Dnyaneshwar
> <dnyaneshwar.bhadane at intel.com>
> Subject: [PATCH v3 10/13] drm/xe/configfs: Use tree-like output in
> documentation
> 
> When documenting the directories, use an output similar to the `tree`
> command and add VFs and missing attributes.
> 
> Signed-off-by: Lucas De Marchi <lucas.demarchi at intel.com>
> ---
LGTM,
Reviewed-by: Dnyaneshwar Bhadane <dnyaneshwar.bhadane at intel.com>


>  drivers/gpu/drm/xe/xe_configfs.c | 12 ++++++++++--
>  1 file changed, 10 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/gpu/drm/xe/xe_configfs.c
> b/drivers/gpu/drm/xe/xe_configfs.c
> index 489c5c67001dc..7c92d293ba733 100644
> --- a/drivers/gpu/drm/xe/xe_configfs.c
> +++ b/drivers/gpu/drm/xe/xe_configfs.c
> @@ -39,8 +39,16 @@
>   * used to configure it::
>   *
>   *	/sys/kernel/config/xe/
> - *		.. 0000:03:00.0/
> - *			... survivability_mode
> + *	├── 0000:00:02.0
> + *	│   └── ...
> + *	├── 0000:00:02.1
> + *	│   └── ...
> + *	:
> + *	└── 0000:03:00.0
> + *	    ├── survivability_mode
> + *	    ├── engines_allowed
> + *	    └── enable_psmi
> + *
>   *
>   * Configure Attributes
>   * ====================
> 
> --
> 2.50.1



More information about the Intel-xe mailing list