drm-uapi: Sync nouveau_drm.h
From https://cgit.freedesktop.org/drm/ commit 72fa02fdf83306c52bc1eede28359e3fa32a151a Author: Dave Airlie <airlied@redhat.com> Date: Wed Jan 24 14:24:25 2024 +1000 nouveau: add an ioctl to report vram usage Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27662>
This commit is contained in:

committed by
Marge Bot

parent
028080c716
commit
6e08a84936
@@ -54,6 +54,20 @@ extern "C" {
|
||||
*/
|
||||
#define NOUVEAU_GETPARAM_EXEC_PUSH_MAX 17
|
||||
|
||||
/*
|
||||
* NOUVEAU_GETPARAM_VRAM_BAR_SIZE - query bar size
|
||||
*
|
||||
* Query the VRAM BAR size.
|
||||
*/
|
||||
#define NOUVEAU_GETPARAM_VRAM_BAR_SIZE 18
|
||||
|
||||
/*
|
||||
* NOUVEAU_GETPARAM_VRAM_USED
|
||||
*
|
||||
* Get remaining VRAM size.
|
||||
*/
|
||||
#define NOUVEAU_GETPARAM_VRAM_USED 19
|
||||
|
||||
struct drm_nouveau_getparam {
|
||||
__u64 param;
|
||||
__u64 value;
|
||||
|
Reference in New Issue
Block a user