summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/nv50_evo.c
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2012-11-17 21:51:30 +1000
committerBen Skeggs <bskeggs@redhat.com>2012-11-29 09:56:37 +1000
commit0a32241d8b58ab11d629b78adf81803bca918b69 (patch)
treefeab3f880562c126f15d2e4ed65edf4609e82f09 /drivers/gpu/drm/nouveau/nv50_evo.c
parent66bb7e1d670f57ffd17ffbfddf049167f97d2d74 (diff)
downloadblackbird-op-linux-0a32241d8b58ab11d629b78adf81803bca918b69.tar.gz
blackbird-op-linux-0a32241d8b58ab11d629b78adf81803bca918b69.zip
drm/nouveau: pass address to object accessor functions as u64
Will be required by future work. Make the API change now to catch any (but hopefully none) unexpected fallout. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nv50_evo.c')
-rw-r--r--drivers/gpu/drm/nouveau/nv50_evo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/nouveau/nv50_evo.c b/drivers/gpu/drm/nouveau/nv50_evo.c
index 9f6f55cdfa77..48d08d865318 100644
--- a/drivers/gpu/drm/nouveau/nv50_evo.c
+++ b/drivers/gpu/drm/nouveau/nv50_evo.c
@@ -34,14 +34,14 @@
#include <subdev/fb.h>
static u32
-nv50_evo_rd32(struct nouveau_object *object, u32 addr)
+nv50_evo_rd32(struct nouveau_object *object, u64 addr)
{
void __iomem *iomem = object->oclass->ofuncs->rd08;
return ioread32_native(iomem + addr);
}
static void
-nv50_evo_wr32(struct nouveau_object *object, u32 addr, u32 data)
+nv50_evo_wr32(struct nouveau_object *object, u64 addr, u32 data)
{
void __iomem *iomem = object->oclass->ofuncs->rd08;
iowrite32_native(data, iomem + addr);
OpenPOWER on IntegriCloud