summaryrefslogtreecommitdiff
path: root/drm/nouveau/include/nvif/device.h
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2015-08-20 14:54:20 +1000
committerBen Skeggs <bskeggs@redhat.com>2015-08-28 12:37:41 +1000
commitea237ceda35d2af950ed4b94d2bd22cecd03a20c (patch)
tree4c70b4c42adc1f33e899c1ca0333dad5603bbab3 /drm/nouveau/include/nvif/device.h
parent20bada06526909dad623431d6d05dcee39150ba5 (diff)
downloadnouveau-ea237ceda35d2af950ed4b94d2bd22cecd03a20c.tar.gz
bios: convert to new-style nvkm_subdev
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drm/nouveau/include/nvif/device.h')
-rw-r--r--drm/nouveau/include/nvif/device.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drm/nouveau/include/nvif/device.h b/drm/nouveau/include/nvif/device.h
index b36d48e09..15f4528ee 100644
--- a/drm/nouveau/include/nvif/device.h
+++ b/drm/nouveau/include/nvif/device.h
@@ -50,7 +50,7 @@ u64 nvif_device_time(struct nvif_device *);
struct nvif_device *_device = (a); \
nv_device(_device->object.priv); \
})
-#define nvxx_bios(a) nvkm_bios(nvxx_device(a))
+#define nvxx_bios(a) nvxx_device(a)->bios
#define nvxx_fb(a) nvkm_fb(nvxx_device(a))
#define nvxx_mmu(a) nvkm_mmu(nvxx_device(a))
#define nvxx_bar(a) nvxx_device(a)->bar