Files
linux-nvgpu/drivers/gpu/nvgpu/common
Debarshi Dutta 9abe9fe062 gpu: nvgpu: replace input param chid with pointer to channel
preempt_channel needs to use the channel to pass it to other
public functions, get access to a tsg etc. This qualifies it to take a
pointer to a channel as an input parameter instead of a chid.

Increment the channel ref counter using the function
gk20a_channel_from_id in functions where we get the chid from the h/w
registers directly. Once the prempt_channel function call is done,
use a gk20a_channel_put on the referenced channel.

Jira NVGPU-1461

Change-Id: I6c87c8104cfcb418d468c8c590087fd4aeabf4bd
Signed-off-by: Debarshi Dutta <ddutta@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1963200
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
2018-12-05 21:55:10 -08:00
..
2018-12-03 00:13:23 -08:00
2018-11-25 23:54:10 -08:00
2018-11-09 13:27:04 -08:00
2018-11-13 09:45:07 -08:00
2018-11-26 11:55:09 -08:00
2018-11-01 17:15:37 -07:00
2018-11-09 13:28:19 -08:00
2018-11-09 13:28:19 -08:00