summaryrefslogtreecommitdiff
path: root/nvkm/subdev/fb/ramnv50.c
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2014-03-19 00:55:02 +1000
committerBen Skeggs <bskeggs@redhat.com>2014-03-26 13:56:55 +1000
commit2dc324d031aeb9678405a467965911895bed2f8f (patch)
treec37427d9329a2d05cf015a1639c359764dc39219 /nvkm/subdev/fb/ramnv50.c
parent0b549b1b28d4f82218a4a973ff635ad4fafc3cc9 (diff)
downloadnouveau-2dc324d031aeb9678405a467965911895bed2f8f.tar.gz
bios: have strap reads show on devinit spam debug level
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'nvkm/subdev/fb/ramnv50.c')
-rw-r--r--nvkm/subdev/fb/ramnv50.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nvkm/subdev/fb/ramnv50.c b/nvkm/subdev/fb/ramnv50.c
index c7fdb3a9e..ef91b6e89 100644
--- a/nvkm/subdev/fb/ramnv50.c
+++ b/nvkm/subdev/fb/ramnv50.c
@@ -91,7 +91,7 @@ nv50_ram_calc(struct nouveau_fb *pfb, u32 freq)
} while (perfE.memory < freq);
/* locate specific data set for the attached memory */
- strap = nvbios_ramcfg_index(bios);
+ strap = nvbios_ramcfg_index(nv_subdev(pfb));
if (strap >= cnt) {
nv_error(pfb, "invalid ramcfg strap\n");
return -EINVAL;