diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2020-07-22 17:21:59 +1000 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2020-07-24 18:51:04 +1000 |
commit | 2bd43e0ad0f06bb902579294849194a818a0ff96 (patch) | |
tree | c5c912df6e956048f59a93ef3f5061c9e77e830c | |
parent | 40f1171e7c26e57d71aa2800fb8ad213b4efb09c (diff) | |
download | linux-2bd43e0ad0f06bb902579294849194a818a0ff96.tar.gz linux-2bd43e0ad0f06bb902579294849194a818a0ff96.tar.bz2 linux-2bd43e0ad0f06bb902579294849194a818a0ff96.zip |
drm/nouveau/fence: use NVIDIA's headers for read()
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Reviewed-by: Lyude Paul <lyude@redhat.com>
-rw-r--r-- | drivers/gpu/drm/nouveau/nv10_fence.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/nv10_fence.c b/drivers/gpu/drm/nouveau/nv10_fence.c index 8e3f034d6e74..c6a0db5b9e21 100644 --- a/drivers/gpu/drm/nouveau/nv10_fence.c +++ b/drivers/gpu/drm/nouveau/nv10_fence.c @@ -52,7 +52,7 @@ nv10_fence_sync(struct nouveau_fence *fence, u32 nv10_fence_read(struct nouveau_channel *chan) { - return nvif_rd32(&chan->user, 0x0048); + return NVIF_RD32(&chan->user, NV06E, REFERENCE); } void |