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:Faith Ekstrand <faith.ekstrand@collabora.com> Signed-off-by:
Dave Airlie <airlied@redhat.com> Stable-dep-of: aed9a1a4 ("drm/nouveau: use tile_mode and pte_kind for VM_BIND bo allocations") Signed-off-by:
Sasha Levin <sashal@kernel.org>
Loading
Please sign in to comment