Skip to content

Commit 2bd43e0

Browse files
author
Ben Skeggs
committed
drm/nouveau/fence: use NVIDIA's headers for read()
Signed-off-by: Ben Skeggs <[email protected]> Reviewed-by: Lyude Paul <[email protected]>
1 parent 40f1171 commit 2bd43e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/nouveau/nv10_fence.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ nv10_fence_sync(struct nouveau_fence *fence,
5252
u32
5353
nv10_fence_read(struct nouveau_channel *chan)
5454
{
55-
return nvif_rd32(&chan->user, 0x0048);
55+
return NVIF_RD32(&chan->user, NV06E, REFERENCE);
5656
}
5757

5858
void

0 commit comments

Comments
 (0)