diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2015-01-12 12:33:37 +1000 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2015-01-19 14:23:01 +1000 |
commit | d339db83b993c89c77c6ab85a6139e4bcd330c77 (patch) | |
tree | f982e0511df99a4a1e7850d2daf5f251f4e2afa1 /bin/nv_rffunc.h | |
parent | 97a7810f7a23e4105db7222e7f4a5cdccc58237a (diff) | |
download | nouveau-d339db83b993c89c77c6ab85a6139e4bcd330c77.tar.gz |
nvif: namespace of nvkm accessors (no binary change)
NVKM is having it's namespace switched to nvkm_, which will conflict
with these functions (which are workarounds for the fact that as of
yet, we still aren't able to split DRM and NVKM completely).
A comparison of objdump disassemblies proves no code changes.
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'bin/nv_rffunc.h')
-rw-r--r-- | bin/nv_rffunc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/nv_rffunc.h b/bin/nv_rffunc.h index caf973dc3..350059b84 100644 --- a/bin/nv_rffunc.h +++ b/bin/nv_rffunc.h @@ -21,7 +21,7 @@ nv_rfb(struct nvif_device *device, u64 offset) if (map) iounmap(map); - map = ioremap(pci_resource_start(nvkm_device(device)->pdev, 1) + + map = ioremap(pci_resource_start(nvxx_device(device)->pdev, 1) + page, PAGE_SIZE); if (!map) { printk("map failed\n"); |