drm/nouveau: share fence structures between nv10+ and nv50 implementations
We already rely on them having the same fields and layout. Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com> Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
This commit is contained in:

committed by
Ben Skeggs

parent
a624bafbf1
commit
a4cea27b69
19
drivers/gpu/drm/nouveau/nv10_fence.h
Normal file
19
drivers/gpu/drm/nouveau/nv10_fence.h
Normal file
@@ -0,0 +1,19 @@
|
||||
#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
|
Reference in New Issue
Block a user