mirror of https://gitee.com/openkylin/linux.git
20 lines
310 B
C
20 lines
310 B
C
|
#ifndef __NV10_FENCE_H_
|
||
|
#define __NV10_FENCE_H_
|
||
|
|
||
|
#include <core/os.h>
|
||
|
#include "nouveau_fence.h"
|
||
|
#include "nouveau_bo.h"
|
||
|
|
||
|
struct nv10_fence_chan {
|
||
|
struct nouveau_fence_chan base;
|
||
|
};
|
||
|
|
||
|
struct nv10_fence_priv {
|
||
|
struct nouveau_fence_priv base;
|
||
|
struct nouveau_bo *bo;
|
||
|
spinlock_t lock;
|
||
|
u32 sequence;
|
||
|
};
|
||
|
|
||
|
#endif
|