Commit 63bb5c39 authored by Ben Skeggs's avatar Ben Skeggs

drm/nouveau/ibus: switch to new-style timer macros

Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
parent cf07d861
...@@ -59,9 +59,10 @@ gk20a_ibus_intr(struct nvkm_subdev *subdev) ...@@ -59,9 +59,10 @@ gk20a_ibus_intr(struct nvkm_subdev *subdev)
/* Acknowledge interrupt */ /* Acknowledge interrupt */
nvkm_mask(device, 0x12004c, 0x2, 0x2); nvkm_mask(device, 0x12004c, 0x2, 0x2);
nvkm_msec(device, 2000,
if (!nv_wait(subdev, 0x12004c, 0x3f, 0x00)) if (!(nvkm_rd32(device, 0x12004c) & 0x0000003f))
nv_warn(ibus, "timeout waiting for ringmaster ack\n"); break;
);
} }
static int static int
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment