-
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/flcn: export existing funcs
These will be used in upcoming commits which will provide more customisation. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
- Loading branch information
Ben Skeggs
committed
Jan 15, 2020
1 parent
de04819
commit a128bbf
Showing
5 changed files
with
41 additions
and
19 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#ifndef __NVKM_FALCON_H__ | ||
#define __NVKM_FALCON_H__ | ||
#include <engine/falcon.h> | ||
|
||
int nvkm_falcon_ctor(const struct nvkm_falcon_func *, struct nvkm_subdev *owner, | ||
const char *name, u32 addr, struct nvkm_falcon *); | ||
void nvkm_falcon_dtor(struct nvkm_falcon *); | ||
|
||
void nvkm_falcon_v1_load_imem(struct nvkm_falcon *, | ||
void *, u32, u32, u16, u8, bool); | ||
void nvkm_falcon_v1_load_dmem(struct nvkm_falcon *, void *, u32, u32, u8); | ||
void nvkm_falcon_v1_read_dmem(struct nvkm_falcon *, u32, u32, u8, void *); | ||
void nvkm_falcon_v1_bind_context(struct nvkm_falcon *, struct nvkm_memory *); | ||
int nvkm_falcon_v1_wait_for_halt(struct nvkm_falcon *, u32); | ||
int nvkm_falcon_v1_clear_interrupt(struct nvkm_falcon *, u32); | ||
void nvkm_falcon_v1_set_start_addr(struct nvkm_falcon *, u32 start_addr); | ||
void nvkm_falcon_v1_start(struct nvkm_falcon *); | ||
int nvkm_falcon_v1_enable(struct nvkm_falcon *); | ||
void nvkm_falcon_v1_disable(struct nvkm_falcon *); | ||
#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
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 |
---|---|---|
@@ -1,9 +1,5 @@ | ||
/* SPDX-License-Identifier: MIT */ | ||
#ifndef __NVKM_FALCON_PRIV_H__ | ||
#define __NVKM_FALCON_PRIV_H__ | ||
#include <engine/falcon.h> | ||
|
||
void | ||
nvkm_falcon_ctor(const struct nvkm_falcon_func *, struct nvkm_subdev *, | ||
const char *, u32, struct nvkm_falcon *); | ||
#include <core/falcon.h> | ||
#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