mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 02:22:34 +03:00
gpu: nvgpu: rename tsg_gk20a and channel_gk20a structs
rename struct tsg_gk20a to struct nvgpu_tsg and rename struct channel_gk20a to struct nvgpu_channel Jira NVGPU-3248 Change-Id: I2a227347d249f9eea59223d82f09eae23dfc1306 Signed-off-by: Debarshi Dutta <ddutta@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2112424 GVS: Gerrit_Virtual_Submit Reviewed-by: Vijayakumar Subbu <vsubbu@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
400c10164e
commit
17486ec1f6
@@ -21,7 +21,7 @@
|
||||
|
||||
#include <nvgpu/types.h>
|
||||
|
||||
struct channel_gk20a;
|
||||
struct nvgpu_channel;
|
||||
struct nvgpu_gpfifo;
|
||||
struct nvgpu_submit_gpfifo_args;
|
||||
struct nvgpu_channel_fence;
|
||||
@@ -38,7 +38,7 @@ struct nvgpu_channel_completion_cb {
|
||||
* schedule_work. Means that something finished on the channel (perhaps
|
||||
* more than one job).
|
||||
*/
|
||||
void (*fn)(struct channel_gk20a *, void *);
|
||||
void (*fn)(struct nvgpu_channel *, void *);
|
||||
void *user_data;
|
||||
/* Make access to the two above atomic */
|
||||
struct nvgpu_spinlock lock;
|
||||
@@ -77,7 +77,7 @@ struct nvgpu_usermode_bufs_linux {
|
||||
};
|
||||
|
||||
struct nvgpu_channel_linux {
|
||||
struct channel_gk20a *ch;
|
||||
struct nvgpu_channel *ch;
|
||||
|
||||
struct nvgpu_os_fence_framework fence_framework;
|
||||
|
||||
@@ -93,8 +93,8 @@ u32 nvgpu_submit_gpfifo_user_flags_to_common_flags(u32 user_flags);
|
||||
int nvgpu_channel_init_support_linux(struct nvgpu_os_linux *l);
|
||||
void nvgpu_channel_remove_support_linux(struct nvgpu_os_linux *l);
|
||||
|
||||
struct channel_gk20a *gk20a_open_new_channel_with_cb(struct gk20a *g,
|
||||
void (*update_fn)(struct channel_gk20a *, void *),
|
||||
struct nvgpu_channel *gk20a_open_new_channel_with_cb(struct gk20a *g,
|
||||
void (*update_fn)(struct nvgpu_channel *, void *),
|
||||
void *update_fn_data,
|
||||
u32 runlist_id,
|
||||
bool is_privileged_channel);
|
||||
|
||||
Reference in New Issue
Block a user