]> www.infradead.org Git - users/jedix/linux-maple.git/commit
Documentation/gpu: Clarify drm memory stats definition
authorYunxiang Li <Yunxiang.Li@amd.com>
Thu, 19 Dec 2024 15:14:09 +0000 (10:14 -0500)
committerChristian König <christian.koenig@amd.com>
Thu, 19 Dec 2024 15:56:21 +0000 (16:56 +0100)
commite77d0401e8a198d348bdff5ad48f9dab07902eb4
tree2556bfd22578666e5f83ea32f5f1eb5c202618ba
parentbebf2ebd70f210a6c8fe5f668dadefb083014217
Documentation/gpu: Clarify drm memory stats definition

Define how to handle buffers with multiple possible placement so we
don't get incompatible implementations. Callout the resident requirement
for drm-purgeable- explicitly. Remove the requirement for there to be
only drm-memory- or only drm-resident-, it's not what's implemented and
having both is better for back-compat. Also re-order the paragraphs to
flow better.

Signed-off-by: Yunxiang Li <Yunxiang.Li@amd.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@igalia.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241219151411.1150-4-Yunxiang.Li@amd.com
Signed-off-by: Christian König <christian.koenig@amd.com>
Documentation/gpu/drm-usage-stats.rst