forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
drm/nouveau: share fence structures between nv10+ and nv50 implementa…
…tions We already rely on them having the same fields and layout. Signed-off-by: Marcin Slusarz <[email protected]> Signed-off-by: Ben Skeggs <[email protected]>
- Loading branch information
Showing
3 changed files
with
24 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters