Commit 6446c1ca authored by Dave Airlie's avatar Dave Airlie Committed by Greg Kroah-Hartman
Browse files

nouveau: add an ioctl to report vram usage



[ Upstream commit 72fa02fd ]

This reports the currently used vram allocations.

userspace using this has been proposed for nvk, but
it's a rather trivial uapi addition.

Reviewed-by: default avatarFaith Ekstrand <faith.ekstrand@collabora.com>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
Stable-dep-of: aed9a1a4 ("drm/nouveau: use tile_mode and pte_kind for VM_BIND bo allocations")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 929eaf32
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment