Commit 929eaf32 authored by Dave Airlie's avatar Dave Airlie Committed by Greg Kroah-Hartman
Browse files

nouveau: add an ioctl to return vram bar size.



[ Upstream commit 3f4d8aac ]

This returns the BAR resources size so userspace can make
decisions based on rebar support.

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 38c2fd9a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment