Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 199682
b: refs/heads/master
c: 7fc74f1
h: refs/heads/master
v: v3
  • Loading branch information
Marcin Kościelnicki authored and Ben Skeggs committed May 28, 2010
1 parent 73e4df9 commit b3643e0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b334f2b3b68c35fd86a0cbc90ecee40e63ba2f37
refs/heads/master: 7fc74f17e6c9b4d86371c3a947afc32bd6bc9691
3 changes: 3 additions & 0 deletions trunk/drivers/gpu/drm/nouveau/nouveau_state.c
Original file line number Diff line number Diff line change
Expand Up @@ -913,6 +913,9 @@ int nouveau_ioctl_getparam(struct drm_device *dev, void *data,
case NOUVEAU_GETPARAM_VM_VRAM_BASE:
getparam->value = dev_priv->vm_vram_base;
break;
case NOUVEAU_GETPARAM_PTIMER_TIME:
getparam->value = dev_priv->engine.timer.read(dev);
break;
case NOUVEAU_GETPARAM_GRAPH_UNITS:
/* NV40 and NV50 versions are quite different, but register
* address is the same. User is supposed to know the card
Expand Down
1 change: 1 addition & 0 deletions trunk/include/drm/nouveau_drm.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit b3643e0

Please sign in to comment.