-
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/fifo: turn all fifo modules into engine modules
Been tested on each major revision that's relevant here, but I'm sure there are still bugs waiting to be ironed out. This is a *very* invasive change. There's a couple of pieces left that I don't like much (eg. other engines using fifo_priv for the channel count), but that's an artefact of there being a master channel list still. This is changing, slowly. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
- Loading branch information
Ben Skeggs
committed
May 24, 2012
1 parent
a226c32
commit c420b2d
Showing
30 changed files
with
1,374 additions
and
1,386 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
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
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,32 @@ | ||
#ifndef __NOUVEAU_FIFO_H__ | ||
#define __NOUVEAU_FIFO_H__ | ||
|
||
struct nouveau_fifo_priv { | ||
struct nouveau_exec_engine base; | ||
u32 channels; | ||
}; | ||
|
||
struct nouveau_fifo_chan { | ||
}; | ||
|
||
bool nv04_fifo_cache_pull(struct drm_device *, bool); | ||
void nv04_fifo_context_del(struct nouveau_channel *, int); | ||
int nv04_fifo_fini(struct drm_device *, int, bool); | ||
int nv04_fifo_init(struct drm_device *, int); | ||
void nv04_fifo_isr(struct drm_device *); | ||
void nv04_fifo_destroy(struct drm_device *, int); | ||
|
||
void nv50_fifo_playlist_update(struct drm_device *); | ||
void nv50_fifo_destroy(struct drm_device *, int); | ||
void nv50_fifo_tlb_flush(struct drm_device *, int); | ||
|
||
int nv04_fifo_create(struct drm_device *); | ||
int nv10_fifo_create(struct drm_device *); | ||
int nv17_fifo_create(struct drm_device *); | ||
int nv40_fifo_create(struct drm_device *); | ||
int nv50_fifo_create(struct drm_device *); | ||
int nv84_fifo_create(struct drm_device *); | ||
int nvc0_fifo_create(struct drm_device *); | ||
int nve0_fifo_create(struct drm_device *); | ||
|
||
#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
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
Oops, something went wrong.