mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-22 17:36:20 +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
@@ -664,7 +664,7 @@ static int nvgpu_gpu_ioctl_set_debug_mode(
|
||||
struct gk20a *g,
|
||||
struct nvgpu_gpu_sm_debug_mode_args *args)
|
||||
{
|
||||
struct channel_gk20a *ch;
|
||||
struct nvgpu_channel *ch;
|
||||
int err;
|
||||
|
||||
ch = gk20a_get_channel_from_file(args->channel_fd);
|
||||
@@ -1543,7 +1543,7 @@ static int nvgpu_gpu_set_therm_alert_limit(struct gk20a *g,
|
||||
return err;
|
||||
}
|
||||
|
||||
static int nvgpu_gpu_set_deterministic_ch_railgate(struct channel_gk20a *ch,
|
||||
static int nvgpu_gpu_set_deterministic_ch_railgate(struct nvgpu_channel *ch,
|
||||
u32 flags)
|
||||
{
|
||||
int err = 0;
|
||||
@@ -1585,7 +1585,7 @@ static int nvgpu_gpu_set_deterministic_ch_railgate(struct channel_gk20a *ch,
|
||||
return err;
|
||||
}
|
||||
|
||||
static int nvgpu_gpu_set_deterministic_ch(struct channel_gk20a *ch, u32 flags)
|
||||
static int nvgpu_gpu_set_deterministic_ch(struct nvgpu_channel *ch, u32 flags)
|
||||
{
|
||||
if (!ch->deterministic)
|
||||
return -EINVAL;
|
||||
@@ -1622,7 +1622,7 @@ static int nvgpu_gpu_set_deterministic_opts(struct gk20a *g,
|
||||
/* note: we exit at the first failure */
|
||||
for (; i < args->num_channels; i++) {
|
||||
int ch_fd = 0;
|
||||
struct channel_gk20a *ch;
|
||||
struct nvgpu_channel *ch;
|
||||
|
||||
if (copy_from_user(&ch_fd, &user_channels[i], sizeof(int))) {
|
||||
/* User raced with above access_ok */
|
||||
|
||||
Reference in New Issue
Block a user