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

struct nv04_bus_priv {
	struct nvkm_bus base;
};

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