diff options
author | Marcin Kościelnicki <koriakin@0x04.net> | 2010-05-23 11:36:04 +0000 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2010-05-28 16:06:21 +1000 |
commit | 7fc74f17e6c9b4d86371c3a947afc32bd6bc9691 (patch) | |
tree | 3658c270bd5c45a408779040e2db181e5fca855b /include/drm/nouveau_drm.h | |
parent | b334f2b3b68c35fd86a0cbc90ecee40e63ba2f37 (diff) | |
download | blackbird-op-linux-7fc74f17e6c9b4d86371c3a947afc32bd6bc9691.tar.gz blackbird-op-linux-7fc74f17e6c9b4d86371c3a947afc32bd6bc9691.zip |
drm/nouveau: Add getparam for current PTIMER time.
This will be useful for computing GPU-CPU latency, including
GL_ARB_timer_query extension.
Signed-off-by: Marcin Kościelnicki <koriakin@0x04.net>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'include/drm/nouveau_drm.h')
-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 a6a9f4af5ebd..fe917dee723a 100644 --- a/include/drm/nouveau_drm.h +++ b/include/drm/nouveau_drm.h @@ -79,6 +79,7 @@ struct drm_nouveau_gpuobj_free { #define NOUVEAU_GETPARAM_CHIPSET_ID 11 #define NOUVEAU_GETPARAM_VM_VRAM_BASE 12 #define NOUVEAU_GETPARAM_GRAPH_UNITS 13 +#define NOUVEAU_GETPARAM_PTIMER_TIME 14 struct drm_nouveau_getparam { uint64_t param; uint64_t value; |