mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-22 09:12:24 +03:00
gpu: nvgpu: modify wait_pending
The wait_pending HAL is now modified to simply check the pending status of a given runlist. The while loop is removed from this HAL. A new function nvgpu_runlist_wait_pending_legacy() is added that emulates the older wait_pending() HAL. nvgpu_runlist_tick() is modified to accept a 64 bit "preempt_grace_ns" value. These changes prepare for upcoming control-fifo parser changes. Jira NVGPU-8619 Signed-off-by: Debarshi Dutta <ddutta@nvidia.com> Change-Id: If3f288eb6f2181743c53b657219b3b30d56d26bc Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2766100 Tested-by: mobile promotions <svcmobile_promotions@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
1e2817e022
commit
143034daab
@@ -1165,7 +1165,7 @@ static const struct gops_runlist ga10b_ops_runlist = {
|
||||
.get_tsg_entry = gv11b_runlist_get_tsg_entry,
|
||||
.get_ch_entry = gv11b_runlist_get_ch_entry,
|
||||
.hw_submit = ga10b_runlist_hw_submit,
|
||||
.wait_pending = ga10b_runlist_wait_pending,
|
||||
.check_pending = ga10b_runlist_check_pending,
|
||||
.write_state = ga10b_runlist_write_state,
|
||||
.get_runlist_id = ga10b_runlist_get_runlist_id,
|
||||
.get_runlist_aperture = ga10b_get_runlist_aperture,
|
||||
|
||||
Reference in New Issue
Block a user