drm/nouveau/bus: add interfaces/helpers for sequencer
[platform/adaptation/renesas_rcar/renesas_kernel.git] / drivers / gpu / drm / nouveau / core / subdev / bus / nv04.h
1 #ifndef __NVKM_BUS_NV04_H__
2 #define __NVKM_BUS_NV04_H__
3
4 #include <subdev/bus.h>
5
6 struct nv04_bus_priv {
7         struct nouveau_bus base;
8 };
9
10 int  nv04_bus_ctor(struct nouveau_object *, struct nouveau_object *,
11                    struct nouveau_oclass *, void *, u32,
12                    struct nouveau_object **);
13 int  nv50_bus_init(struct nouveau_object *);
14 void nv50_bus_intr(struct nouveau_subdev *);
15
16 struct nv04_bus_impl {
17         struct nouveau_oclass base;
18         void (*intr)(struct nouveau_subdev *);
19         int  (*hwsq_exec)(struct nouveau_bus *, u32 *, u32);
20         u32  hwsq_size;
21 };
22
23 #endif