summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/nouveau/nvkm/subdev/bus/nv04.h
blob: e8674f2370c8ccef76ab3f4153728dd40eb25743 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef __NVKM_BUS_NV04_H__
#define __NVKM_BUS_NV04_H__
#include <subdev/bus.h>

int  nv04_bus_ctor(struct nvkm_object *, struct nvkm_object *,
		   struct nvkm_oclass *, void *, u32,
		   struct nvkm_object **);
int  nv50_bus_init(struct nvkm_object *);
void nv50_bus_intr(struct nvkm_subdev *);

struct nv04_bus_impl {
	struct nvkm_oclass base;
	void (*intr)(struct nvkm_subdev *);
	int  (*hwsq_exec)(struct nvkm_bus *, u32 *, u32);
	u32  hwsq_size;
};
#endif