diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2011-01-14 10:27:02 +1000 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2011-01-17 11:28:50 +1000 |
commit | c906ca0fbf237b77ba2101a2fa9050317137fde8 (patch) | |
tree | 1251a50df91560beca35ec047a80226b212e59b3 /drivers/gpu/drm/nouveau/nouveau_drv.h | |
parent | 1380da4979728bdd6af0086a8c8e186da14ae673 (diff) | |
download | op-kernel-dev-c906ca0fbf237b77ba2101a2fa9050317137fde8.zip op-kernel-dev-c906ca0fbf237b77ba2101a2fa9050317137fde8.tar.gz |
drm/nvc0: enable protection of system-use-only structures in vm
Somehow missed this in the original merge of the nvc0 code.
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_drv.h')
-rw-r--r-- | drivers/gpu/drm/nouveau/nouveau_drv.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_drv.h b/drivers/gpu/drm/nouveau/nouveau_drv.h index 07a7e6a..5192032 100644 --- a/drivers/gpu/drm/nouveau/nouveau_drv.h +++ b/drivers/gpu/drm/nouveau/nouveau_drv.h @@ -160,6 +160,7 @@ enum nouveau_flags { #define NVOBJ_FLAG_ZERO_ALLOC (1 << 1) #define NVOBJ_FLAG_ZERO_FREE (1 << 2) #define NVOBJ_FLAG_VM (1 << 3) +#define NVOBJ_FLAG_VM_USER (1 << 4) #define NVOBJ_CINST_GLOBAL 0xdeadbeef |