2019-06-20 03:13:43 +03:00
|
|
|
/* SPDX-License-Identifier: MIT */
|
2012-12-25 20:50:43 +04:00
|
|
|
#ifndef __NV10_FENCE_H_
|
|
|
|
#define __NV10_FENCE_H_
|
|
|
|
|
|
|
|
#include "nouveau_fence.h"
|
|
|
|
#include "nouveau_bo.h"
|
|
|
|
|
|
|
|
struct nv10_fence_chan {
|
|
|
|
struct nouveau_fence_chan base;
|
2014-08-09 22:10:22 +04:00
|
|
|
struct nvif_object sema;
|
2012-12-25 20:50:43 +04:00
|
|
|
};
|
|
|
|
|
|
|
|
struct nv10_fence_priv {
|
|
|
|
struct nouveau_fence_priv base;
|
|
|
|
struct nouveau_bo *bo;
|
|
|
|
spinlock_t lock;
|
|
|
|
u32 sequence;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|