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:
Debarshi Dutta
2019-05-06 10:06:09 +05:30
committed by mobile promotions
parent 400c10164e
commit 17486ec1f6
156 changed files with 1063 additions and 1063 deletions

View File

@@ -142,7 +142,7 @@ void vgpu_css_release_snapshot_buffer(struct gk20a *g)
nvgpu_log_info(g, "cyclestats(vgpu): buffer for snapshots released\n");
}
int vgpu_css_flush_snapshots(struct channel_gk20a *ch,
int vgpu_css_flush_snapshots(struct nvgpu_channel *ch,
u32 *pending, bool *hw_overflow)
{
struct gk20a *g = ch->g;
@@ -170,7 +170,7 @@ int vgpu_css_flush_snapshots(struct channel_gk20a *ch,
return err;
}
static int vgpu_css_attach(struct channel_gk20a *ch,
static int vgpu_css_attach(struct nvgpu_channel *ch,
struct gk20a_cs_snapshot_client *cs_client)
{
struct gk20a *g = ch->g;
@@ -198,7 +198,7 @@ static int vgpu_css_attach(struct channel_gk20a *ch,
return err;
}
int vgpu_css_detach(struct channel_gk20a *ch,
int vgpu_css_detach(struct nvgpu_channel *ch,
struct gk20a_cs_snapshot_client *cs_client)
{
struct gk20a *g = ch->g;
@@ -225,7 +225,7 @@ int vgpu_css_detach(struct channel_gk20a *ch,
return err;
}
int vgpu_css_enable_snapshot_buffer(struct channel_gk20a *ch,
int vgpu_css_enable_snapshot_buffer(struct nvgpu_channel *ch,
struct gk20a_cs_snapshot_client *cs_client)
{
int ret;

View File

@@ -26,15 +26,15 @@
#include <nvgpu/types.h>
struct gk20a;
struct channel_gk20a;
struct nvgpu_channel;
struct gk20a_cs_snapshot_client;
void vgpu_css_release_snapshot_buffer(struct gk20a *g);
int vgpu_css_flush_snapshots(struct channel_gk20a *ch,
int vgpu_css_flush_snapshots(struct nvgpu_channel *ch,
u32 *pending, bool *hw_overflow);
int vgpu_css_detach(struct channel_gk20a *ch,
int vgpu_css_detach(struct nvgpu_channel *ch,
struct gk20a_cs_snapshot_client *cs_client);
int vgpu_css_enable_snapshot_buffer(struct channel_gk20a *ch,
int vgpu_css_enable_snapshot_buffer(struct nvgpu_channel *ch,
struct gk20a_cs_snapshot_client *cs_client);
u32 vgpu_css_get_buffer_size(struct gk20a *g);
#endif /* NVGPU_CSS_VGPU_H */