Files
linux-nvgpu/drivers/gpu/nvgpu/os/linux
Peter Daifuku 6e91ecaae7 gpu: nvgpu: fix sched get_params for 0 timeslice
When the TSG is initialized, the timeslice is initially set to 0,
which is a flag for using the default timeslice.

The sched get_params ioctl was returning 0 in this case; instead,
call gk20a_tsg_get_timeslice() to get the correct value.

Bug 2818547

Change-Id: I29fde48240098074de12e9a9a3e347e4042a64e8
Signed-off-by: Peter Daifuku <pdaifuku@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2283962
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Thomas Fleury <tfleury@nvidia.com>
Reviewed-by: Satish Arora <satisha@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
GVS: Gerrit_Virtual_Submit
2020-01-24 03:42:15 -08:00
..
2019-08-15 00:57:45 -07:00
2019-10-14 08:32:07 -07:00
2018-06-27 07:30:06 -07:00
2018-06-27 07:30:06 -07:00
2018-07-05 21:48:44 -07:00
2019-10-28 15:55:10 -07:00
2019-10-25 10:10:30 -07:00
2020-01-08 08:35:30 -08:00
2019-08-30 01:24:52 -07:00