summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/nvkm/engine/device/priv.h
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2015-08-20 14:54:17 +1000
committerBen Skeggs <bskeggs@redhat.com>2015-08-28 12:40:34 +1000
commit7974dd1bdb43aaf5b45a915c6b439d11733450fc (patch)
tree716712130efe76478612a719fba409554cbff59b /drivers/gpu/drm/nouveau/nvkm/engine/device/priv.h
parent168c2e213d3a9b605856d3676d9e93733c8b37d3 (diff)
downloadlinux-7974dd1bdb43aaf5b45a915c6b439d11733450fc.tar.bz2
drm/nouveau/device: separate construction of pci/tegra devices
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nvkm/engine/device/priv.h')
-rw-r--r--drivers/gpu/drm/nouveau/nvkm/engine/device/priv.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/nvkm/engine/device/priv.h b/drivers/gpu/drm/nouveau/nvkm/engine/device/priv.h
index 8d3590e7bd87..df9c1550301f 100644
--- a/drivers/gpu/drm/nouveau/nvkm/engine/device/priv.h
+++ b/drivers/gpu/drm/nouveau/nvkm/engine/device/priv.h
@@ -2,6 +2,15 @@
#define __NVKM_DEVICE_PRIV_H__
#include <core/device.h>
+int nvkm_device_ctor(const struct nvkm_device_func *,
+ const struct nvkm_device_quirk *,
+ void *, enum nv_bus_type type, u64 handle,
+ const char *name, const char *cfg, const char *dbg,
+ bool detect, bool mmio, u64 subdev_mask,
+ struct nvkm_device *);
+int nvkm_device_init(struct nvkm_device *);
+int nvkm_device_fini(struct nvkm_device *, bool suspend);
+
extern struct nvkm_oclass nvkm_control_oclass[];
int nv04_identify(struct nvkm_device *);