diff options
author | Marcin KoĆcielnicki <koriakin@0x04.net> | 2010-01-26 18:39:20 +0000 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2010-02-09 12:48:08 +1000 |
commit | 69c9700b544e496dc3ccf472a4f3a76dcf4abaf7 (patch) | |
tree | 2d80752bfabdf77a42f7d432dfafed5be85f02f5 /include | |
parent | a32ed69d7bb3cd259d813d71281d62993b9a70fd (diff) | |
download | kernel-common-69c9700b544e496dc3ccf472a4f3a76dcf4abaf7.tar.gz kernel-common-69c9700b544e496dc3ccf472a4f3a76dcf4abaf7.tar.bz2 kernel-common-69c9700b544e496dc3ccf472a4f3a76dcf4abaf7.zip |
drm/nouveau: Add getparam to get available PGRAPH units.
On nv50, this will be needed by applications using CUDA to know
how much stack/local memory to allocate.
Signed-off-by: Marcin KoĆcielnicki <koriakin@0x04.net>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/drm/nouveau_drm.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/drm/nouveau_drm.h b/include/drm/nouveau_drm.h index 1e67c441ea82..f745948b61e4 100644 --- a/include/drm/nouveau_drm.h +++ b/include/drm/nouveau_drm.h @@ -77,6 +77,7 @@ struct drm_nouveau_gpuobj_free { #define NOUVEAU_GETPARAM_PCI_PHYSICAL 10 #define NOUVEAU_GETPARAM_CHIPSET_ID 11 #define NOUVEAU_GETPARAM_VM_VRAM_BASE 12 +#define NOUVEAU_GETPARAM_GRAPH_UNITS 13 struct drm_nouveau_getparam { uint64_t param; uint64_t value; |