]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blob - drivers/gpu/drm/nouveau/nv10_fence.h
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
[mirror_ubuntu-bionic-kernel.git] / drivers / gpu / drm / nouveau / nv10_fence.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __NV10_FENCE_H_
3 #define __NV10_FENCE_H_
4
5 #include "nouveau_fence.h"
6 #include "nouveau_bo.h"
7
8 struct nv10_fence_chan {
9 struct nouveau_fence_chan base;
10 struct nvif_object sema;
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