mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-23 18:16:01 +03:00
gpu: nvgpu: make ctx structs private
Add ctx_priv.h header for structs which are used within nvgpu_gr_ctx. APIs are added to manage fields of nvgpu_gr_ctx. JIRA NVGPU-3060 Change-Id: I396fbbb5199e354c62772e901e3bbf61d135f3b1 Signed-off-by: Nitin Kumbhar <nkumbhar@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2090398 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
9f233a6ab4
commit
8664b3be6c
@@ -95,8 +95,8 @@ static int gk20a_fifo_sched_debugfs_seq_show(
|
||||
tsg->timeslice_us,
|
||||
ch->ctxsw_timeout_max_ms,
|
||||
tsg->interleave_level,
|
||||
tsg->gr_ctx->graphics_preempt_mode,
|
||||
tsg->gr_ctx->compute_preempt_mode);
|
||||
nvgpu_gr_ctx_get_graphics_preemption_mode(tsg->gr_ctx),
|
||||
nvgpu_gr_ctx_get_compute_preemption_mode(tsg->gr_ctx));
|
||||
gk20a_channel_put(ch);
|
||||
}
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user