From 7a134457a840118ed02967a3c0bc4b4f248837ea Mon Sep 17 00:00:00 2001 From: Richard Zhao Date: Mon, 9 May 2016 17:24:49 -0700 Subject: gpu: nvgpu: vgpu: add tsg set timeslice support Bug 1702773 JIRA VFND-1496 Change-Id: Ice570df78d974fa59f2a932caf0e6249b13493a1 Signed-off-by: Richard Zhao Reviewed-on: http://git-master/r/1144929 (cherry picked from commit 8b6ec996f3773e497a040a8fe4148e01e8dc35fa) Reviewed-on: http://git-master/r/1150705 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom --- drivers/gpu/nvgpu/gk20a/gk20a.h | 1 + 1 file changed, 1 insertion(+) (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.h') diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h index 6f47f228..36bc0fb7 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/gk20a.h @@ -340,6 +340,7 @@ struct gpu_ops { u32 new_level); int (*channel_set_timeslice)(struct channel_gk20a *ch, u32 timeslice); + int (*tsg_set_timeslice)(struct tsg_gk20a *tsg, u32 timeslice); int (*force_reset_ch)(struct channel_gk20a *ch, bool verbose); int (*engine_enum_from_type)(struct gk20a *g, u32 engine_type, u32 *inst_id); -- cgit v1.2.2