diff options
author | Aingara Paramakuru <aparamakuru@nvidia.com> | 2016-02-25 14:19:24 -0500 |
---|---|---|
committer | Terje Bergstrom <tbergstrom@nvidia.com> | 2016-03-22 13:42:45 -0400 |
commit | 82da6ed595a87c8a3038eecd75880ab21dd4c5de (patch) | |
tree | 03e1e1f13c3eaf5d21c1d49362853362634835c9 /drivers/gpu/nvgpu/gk20a/channel_gk20a.h | |
parent | 032efd066ec4a8034204b6a34663ab2cac582fbe (diff) |
gpu: nvgpu: add support to set channel timeslice
As part of improving GPU scheduling, userspace can now set a
channel's timeslice, within reasonable limits imposed by the
kernel driver.
JIRA VFND-1312
Bug 1729664
Change-Id: I4c3430c43437889b8685f12988d4b967bb7877bb
Signed-off-by: Aingara Paramakuru <aparamakuru@nvidia.com>
Reviewed-on: http://git-master/r/1020917
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/channel_gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/channel_gk20a.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/channel_gk20a.h b/drivers/gpu/nvgpu/gk20a/channel_gk20a.h index 3f5a657a..e3fbba3e 100644 --- a/drivers/gpu/nvgpu/gk20a/channel_gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/channel_gk20a.h | |||
@@ -275,5 +275,6 @@ int gk20a_channel_get_timescale_from_timeslice(struct gk20a *g, | |||
275 | int timeslice_period, | 275 | int timeslice_period, |
276 | int *__timeslice_timeout, int *__timeslice_scale); | 276 | int *__timeslice_timeout, int *__timeslice_scale); |
277 | int gk20a_channel_set_priority(struct channel_gk20a *ch, u32 priority); | 277 | int gk20a_channel_set_priority(struct channel_gk20a *ch, u32 priority); |
278 | int gk20a_channel_set_timeslice(struct channel_gk20a *ch, u32 timeslice); | ||
278 | 279 | ||
279 | #endif /* CHANNEL_GK20A_H */ | 280 | #endif /* CHANNEL_GK20A_H */ |