Commit 2bd43e0a authored by Ben Skeggs's avatar Ben Skeggs

drm/nouveau/fence: use NVIDIA's headers for read()

Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
Reviewed-by: default avatarLyude Paul <lyude@redhat.com>
parent 40f1171e
...@@ -52,7 +52,7 @@ nv10_fence_sync(struct nouveau_fence *fence, ...@@ -52,7 +52,7 @@ nv10_fence_sync(struct nouveau_fence *fence,
u32 u32
nv10_fence_read(struct nouveau_channel *chan) nv10_fence_read(struct nouveau_channel *chan)
{ {
return nvif_rd32(&chan->user, 0x0048); return NVIF_RD32(&chan->user, NV06E, REFERENCE);
} }
void void
......
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