aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/core/subdev/instmem/nv04.h
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2012-07-13 16:14:25 +1000
committerBen Skeggs <bskeggs@redhat.com>2012-10-03 13:12:49 +1000
commitaf7afbd2e1409168698bde2f2846848b07d05d12 (patch)
tree7d5bcd5f71b17fdf06b365b0f8b86b560df663d4 /drivers/gpu/drm/nouveau/core/subdev/instmem/nv04.h
parentdrm/nouveau/fb: merge fb/vram and port to subdev interfaces (diff)
downloadlinux-dev-af7afbd2e1409168698bde2f2846848b07d05d12.tar.xz
linux-dev-af7afbd2e1409168698bde2f2846848b07d05d12.zip
drm/nv04-nv40/instmem: duplicate nv04 code as nv40, remove alternate paths
A ton of duplication for the moment, will go away when they become subdevs. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/core/subdev/instmem/nv04.h')
-rw-r--r--drivers/gpu/drm/nouveau/core/subdev/instmem/nv04.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/core/subdev/instmem/nv04.h b/drivers/gpu/drm/nouveau/core/subdev/instmem/nv04.h
new file mode 100644
index 000000000000..a8c1104a83da
--- /dev/null
+++ b/drivers/gpu/drm/nouveau/core/subdev/instmem/nv04.h
@@ -0,0 +1,11 @@
+#ifndef __NV04_INSTMEM_H__
+#define __NV04_INSTMEM_H__
+
+struct nv04_instmem_priv {
+ struct nouveau_gpuobj *vbios;
+ struct nouveau_gpuobj *ramht;
+ struct nouveau_gpuobj *ramro;
+ struct nouveau_gpuobj *ramfc;
+};
+
+#endif