aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/nouveau_state.c
diff options
context:
space:
mode:
authorFrancisco Jerez <currojerez@riseup.net>2010-09-07 11:34:44 -0400
committerBen Skeggs <bskeggs@redhat.com>2010-09-24 02:25:36 -0400
commit4b5c152a79d512803ea525b0878ccef627cd1629 (patch)
treeea046ac2be1e30a4e08c7ece4b8e1c787aa0ef42 /drivers/gpu/drm/nouveau/nouveau_state.c
parent35fd5b42f035c795bd9c6649591f59b500cb62b3 (diff)
drm/nouveau: Remove implicit argument from nv_wait().
Signed-off-by: Francisco Jerez <currojerez@riseup.net> Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_state.c')
-rw-r--r--drivers/gpu/drm/nouveau/nouveau_state.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_state.c b/drivers/gpu/drm/nouveau/nouveau_state.c
index 19eb06dca899..9a4bf4442924 100644
--- a/drivers/gpu/drm/nouveau/nouveau_state.c
+++ b/drivers/gpu/drm/nouveau/nouveau_state.c
@@ -1044,7 +1044,7 @@ bool nouveau_wait_until(struct drm_device *dev, uint64_t timeout,
1044/* Waits for PGRAPH to go completely idle */ 1044/* Waits for PGRAPH to go completely idle */
1045bool nouveau_wait_for_idle(struct drm_device *dev) 1045bool nouveau_wait_for_idle(struct drm_device *dev)
1046{ 1046{
1047 if (!nv_wait(NV04_PGRAPH_STATUS, 0xffffffff, 0x00000000)) { 1047 if (!nv_wait(dev, NV04_PGRAPH_STATUS, 0xffffffff, 0x00000000)) {
1048 NV_ERROR(dev, "PGRAPH idle timed out with status 0x%08x\n", 1048 NV_ERROR(dev, "PGRAPH idle timed out with status 0x%08x\n",
1049 nv_rd32(dev, NV04_PGRAPH_STATUS)); 1049 nv_rd32(dev, NV04_PGRAPH_STATUS));
1050 return false; 1050 return false;