summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/channel_gk20a.h
diff options
context:
space:
mode:
authorTerje Bergstrom <tbergstrom@nvidia.com>2017-12-27 16:04:17 -0500
committermobile promotions <svcmobile_promotions@nvidia.com>2018-01-02 16:53:09 -0500
commit86691b59c6fae2b091855c0f4d44079cad8529b1 (patch)
treec9fd2914ed052771980298f5e77bd43d7c430ec9 /drivers/gpu/nvgpu/gk20a/channel_gk20a.h
parent14fa8207e2f7feb36f8fa284b94859e05136eb0f (diff)
gpu: nvgpu: Remove bare channel scheduling
Remove scheduling IOCTL implementations for bare channels. Also removes code that constructs bare channels in runlist. Bug 1842197 Change-Id: I6e833b38e24a2f2c45c7993edf939d365eaf41f0 Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1627326 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Seshendra Gadagottu <sgadagottu@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/channel_gk20a.h')
-rw-r--r--drivers/gpu/nvgpu/gk20a/channel_gk20a.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/channel_gk20a.h b/drivers/gpu/nvgpu/gk20a/channel_gk20a.h
index b43c5638..596b85f3 100644
--- a/drivers/gpu/nvgpu/gk20a/channel_gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/channel_gk20a.h
@@ -247,7 +247,6 @@ struct channel_gk20a {
247 bool has_timedout; 247 bool has_timedout;
248 u32 timeout_ms_max; 248 u32 timeout_ms_max;
249 bool timeout_debug_dump; 249 bool timeout_debug_dump;
250 unsigned int timeslice_us;
251 250
252 struct nvgpu_mutex sync_lock; 251 struct nvgpu_mutex sync_lock;
253 struct gk20a_channel_sync *sync; 252 struct gk20a_channel_sync *sync;
@@ -256,8 +255,6 @@ struct channel_gk20a {
256 u64 virt_ctx; 255 u64 virt_ctx;
257#endif 256#endif
258 257
259 u32 interleave_level;
260
261 u32 runlist_id; 258 u32 runlist_id;
262 259
263 bool is_privileged_channel; 260 bool is_privileged_channel;
@@ -355,12 +352,9 @@ void channel_gk20a_joblist_unlock(struct channel_gk20a *c);
355bool channel_gk20a_joblist_is_empty(struct channel_gk20a *c); 352bool channel_gk20a_joblist_is_empty(struct channel_gk20a *c);
356 353
357int channel_gk20a_update_runlist(struct channel_gk20a *c, bool add); 354int channel_gk20a_update_runlist(struct channel_gk20a *c, bool add);
358u32 gk20a_channel_get_timeslice(struct channel_gk20a *ch);
359int gk20a_channel_get_timescale_from_timeslice(struct gk20a *g, 355int gk20a_channel_get_timescale_from_timeslice(struct gk20a *g,
360 int timeslice_period, 356 int timeslice_period,
361 int *__timeslice_timeout, int *__timeslice_scale); 357 int *__timeslice_timeout, int *__timeslice_scale);
362int gk20a_channel_set_runlist_interleave(struct channel_gk20a *ch,
363 u32 level);
364 358
365int channel_gk20a_alloc_job(struct channel_gk20a *c, 359int channel_gk20a_alloc_job(struct channel_gk20a *c,
366 struct channel_gk20a_job **job_out); 360 struct channel_gk20a_job **job_out);