Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Documentation/gpu: Clarify format of driver-specific fidnfo keys

This change reflects de facto usage by amdgpu, as exemplified by commit
d6530c33a978 ("drm/amdgpu: expose more memory stats in fdinfo").

Cc: Tvrtko Ursulin <tursulin@ursulin.net>
Acked-by: Tvrtko Ursulin <tvrtko.ursulin@igalia.com>
Signed-off-by: Adrián Larumbe <adrian.larumbe@collabora.com>
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250130172851.941597-2-adrian.larumbe@collabora.com

authored by

Adrián Larumbe and committed by
Boris Brezillon
3ddf003c 2eca617f

+4 -1
+4 -1
Documentation/gpu/drm-usage-stats.rst
··· 21 21 22 22 - File shall contain one key value pair per one line of text. 23 23 - Colon character (`:`) must be used to delimit keys and values. 24 - - All keys shall be prefixed with `drm-`. 24 + - All standardised keys shall be prefixed with `drm-`. 25 + - Driver-specific keys shall be prefixed with `driver_name-`, where 26 + driver_name should ideally be the same as the `name` field in 27 + `struct drm_driver`, although this is not mandatory. 25 28 - Whitespace between the delimiter and first non-whitespace character shall be 26 29 ignored when parsing. 27 30 - Keys are not allowed to contain whitespace characters.