gpu: nvgpu: rename hw_chid to chid

hw_chid is a relative id for vgpu. For native it's same as hw id.
Renaming it to chid to avoid confusing.

Jira VFND-3796

Change-Id: I1c7924da1757330ace715a7c52ac61ec9dc7065c
Signed-off-by: Richard Zhao <rizhao@nvidia.com>
Reviewed-on: https://git-master/r/1509530
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
Richard Zhao
2017-06-27 11:20:58 -07:00
committed by mobile promotions
parent d32bd6605d
commit 7d584bf868
24 changed files with 188 additions and 188 deletions

View File

@@ -77,7 +77,7 @@ static int gk20a_fifo_sched_debugfs_seq_show(
ret = 0;
}
if (!test_bit(ch->hw_chid, runlist->active_channels))
if (!test_bit(ch->chid, runlist->active_channels))
return ret;
if (gk20a_channel_get(ch)) {
@@ -85,7 +85,7 @@ static int gk20a_fifo_sched_debugfs_seq_show(
tsg = &f->tsg[ch->tsgid];
seq_printf(s, "%-8d %-8d %-8d %-9d %-8d %-10d %-8d %-8d\n",
ch->hw_chid,
ch->chid,
ch->tsgid,
ch->tgid,
tsg ? tsg->timeslice_us : ch->timeslice_us,