drm/nouveau: Add getparam for current PTIMER time.
authorMarcin Koƛcielnicki <koriakin@0x04.net>
Sun, 23 May 2010 11:36:04 +0000 (11:36 +0000)
committerBen Skeggs <bskeggs@redhat.com>
Fri, 28 May 2010 06:06:21 +0000 (16:06 +1000)
commit7fc74f17e6c9b4d86371c3a947afc32bd6bc9691
tree3658c270bd5c45a408779040e2db181e5fca855b
parentb334f2b3b68c35fd86a0cbc90ecee40e63ba2f37
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>
drivers/gpu/drm/nouveau/nouveau_state.c
include/drm/nouveau_drm.h