From nobody Thu Jan 30 23:23:08 2025 Received: from sender4-pp-f112.zoho.com (sender4-pp-f112.zoho.com [136.143.188.112]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AE9E714A4E1; Thu, 23 Jan 2025 22:54:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=pass smtp.client-ip=136.143.188.112 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737672866; cv=pass; b=SnMyWFIVqWDlmQz1ntW7qLcn/TDoFdL6zruWSPRZ04S8wTDfHbfcFRJ9i/pFAJgpc6Hr2JN0jjFUjILxLw331SOlTkeViWOzQ/peia7uhZSEOk7Y8eDGI89etSM3fUHW5PaIpcveEQkFxysP01wWquL69Sos89XAEZABinvP2Wo= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737672866; c=relaxed/simple; bh=1HAcPuBDpSLwG4zt1gIEj18I/4Inntxrv5UL7A4fAow=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=Ou2Ms3SdryawhTs8Ygpe/hOloCOkRg23YTcraK2I/oyUj1iemvIRoQwT9HalWBbQ3q3JgBOtJUXwNg6RZHZh1kTmnFlgMl5MwRyajTwREmCRDUK2BhbfTWE5tOr0rxKrOaFFts/Cu9oPzFcP3s0NVqzqDnddSFH2qlP3qd6C1/Q= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=collabora.com; spf=pass smtp.mailfrom=collabora.com; dkim=pass (1024-bit key) header.d=collabora.com header.i=adrian.larumbe@collabora.com header.b=CSwFRLle; arc=pass smtp.client-ip=136.143.188.112 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=collabora.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=collabora.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=collabora.com header.i=adrian.larumbe@collabora.com header.b="CSwFRLle" ARC-Seal: i=1; a=rsa-sha256; t=1737672836; cv=none; d=zohomail.com; s=zohoarc; b=RrvFipjO8WRJ5qrEobVXcCt1+poXZM1VauP7CH5IckhWlIVZg/dEBhmtDgYeWztQf0+qrWEjTr7crQfGcXwu3ZzpjPvyxV2CM8b43mEjMAl4kNxh4FciZnV7N/09d08lTy4f3D4Me6r9o0k01e3q21AUKfGKCl2lgdwFV4WKZdE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1737672836; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:Subject:To:To:Message-Id:Reply-To; bh=P7YSgOBT4ZEydHi6CBZLDANUBg1ODh9pUPQasV9rKe4=; b=P3sq+tp8W1iD38Z9QHugqyH1NGY4Z/lwF/83DVG2zK9pHrNMmZVYPgi3z8I8v49jok2ozFM6XTXRs4cNJwuCGQzEgGa5J/Qlal15TiTBSvcKv3ANAOmNbKDxnTDt46KLobJOuO5zY+BEt0tyyujqQRQMkfB+C/DO097SOwagnT4= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=collabora.com; spf=pass smtp.mailfrom=adrian.larumbe@collabora.com; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1737672836; s=zohomail; d=collabora.com; i=adrian.larumbe@collabora.com; h=From:From:To:To:Cc:Cc:Subject:Subject:Date:Date:Message-ID:In-Reply-To:References:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-Id:Reply-To; bh=P7YSgOBT4ZEydHi6CBZLDANUBg1ODh9pUPQasV9rKe4=; b=CSwFRLleudBtmmIgvIWZZjmpY2QRGEP9OFbfHIJIbhGbNVquYk8sFPt01KVQD/zl lvvB7tGA3F/6gwFx0eZVycSRHuonUO128n+l1V76YnvGhgG2lmnVhuPo2zgdcCf5vfj 78S8FN6IkD9rN4cEnJrLj0Y9SoB1iX/Wb+UX6qhc= Received: by mx.zohomail.com with SMTPS id 1737672830663713.3510044597829; Thu, 23 Jan 2025 14:53:50 -0800 (PST) From: =?UTF-8?q?Adri=C3=A1n=20Larumbe?= To: David Airlie , Simona Vetter , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Jonathan Corbet , Boris Brezillon , Steven Price , Liviu Dudau Cc: kernel@collabora.com, Tvrtko Ursulin , Tvrtko Ursulin , dri-devel@lists.freedesktop.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, =?UTF-8?q?Adri=C3=A1n=20Larumbe?= Subject: [PATCH v9 1/5] Documentation/gpu: Clarify format of driver-specific fidnfo keys Date: Thu, 23 Jan 2025 22:52:58 +0000 Message-ID: <20250123225325.3271764-2-adrian.larumbe@collabora.com> X-Mailer: git-send-email 2.47.1 In-Reply-To: <20250123225325.3271764-1-adrian.larumbe@collabora.com> References: <20250123225325.3271764-1-adrian.larumbe@collabora.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable This change reflects de facto usage by amdgpu, as exemplified by commit d6530c33a978 ("drm/amdgpu: expose more memory stats in fdinfo"). Signed-off-by: Adri=C3=A1n Larumbe Cc: Tvrtko Ursulin Acked-by: Tvrtko Ursulin --- Documentation/gpu/drm-usage-stats.rst | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Documentation/gpu/drm-usage-stats.rst b/Documentation/gpu/drm-= usage-stats.rst index 2717cb2a597e..2b5393ed7692 100644 --- a/Documentation/gpu/drm-usage-stats.rst +++ b/Documentation/gpu/drm-usage-stats.rst @@ -21,7 +21,10 @@ File format specification =20 - File shall contain one key value pair per one line of text. - Colon character (`:`) must be used to delimit keys and values. -- All keys shall be prefixed with `drm-`. +- All standardised keys shall be prefixed with `drm-`. +- Driver-specific keys shall be prefixed with `driver_name-`, where + driver_name should ideally be the same as the `name` field in + `struct drm_driver`, although this is not mandatory. - Whitespace between the delimiter and first non-whitespace character shal= l be ignored when parsing. - Keys are not allowed to contain whitespace characters. --=20 2.47.1