]> git.kernelconcepts.de Git - karo-tx-linux.git/blob - drivers/gpu/drm/nouveau/nv10_fence.h
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
[karo-tx-linux.git] / drivers / gpu / drm / nouveau / nv10_fence.h
1 #ifndef __NV10_FENCE_H_
2 #define __NV10_FENCE_H_
3
4 #include "nouveau_fence.h"
5 #include "nouveau_bo.h"
6
7 struct nv10_fence_chan {
8         struct nouveau_fence_chan base;
9         struct nvif_object sema;
10         struct nvif_object head[4];
11 };
12
13 struct nv10_fence_priv {
14         struct nouveau_fence_priv base;
15         struct nouveau_bo *bo;
16         spinlock_t lock;
17         u32 sequence;
18 };
19
20 #endif