mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-23 18:16:01 +03:00
gpu: nvgpu: add BVEC test for LTC isr
Add BVEC tests for following common.ltc unit API: gops_ltc_intr.isr Add unit test for boundary value check for ltc parameter of the LTC isr. JIRA NVGPU-6398 Change-Id: I0e075a3244d969d11faa4fd99e7e364218da6e30 Signed-off-by: Sagar Kamble <skamble@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2549802 (cherry picked from commit 3133a7173b0853a699e4ebf2fc50e866e3ac6211) Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2623636 Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> Reviewed-by: svc-mobile-cert <svc-mobile-cert@nvidia.com> Reviewed-by: Shashank Singh <shashsingh@nvidia.com> Reviewed-by: Vaibhav Kachore <vkachore@nvidia.com> GVS: Gerrit_Virtual_Submit
This commit is contained in:
committed by
mobile promotions
parent
04587333ca
commit
4b73eb8a43
@@ -213,9 +213,11 @@ static int mock_gr_stall_isr(struct gk20a *g)
|
||||
return u.gr_isr_return;
|
||||
}
|
||||
|
||||
static void mock_ltc_isr(struct gk20a *g, u32 ltc)
|
||||
static int mock_ltc_isr(struct gk20a *g, u32 ltc)
|
||||
{
|
||||
u.ltc_isr = true;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
static void mock_pmu_isr(struct gk20a *g)
|
||||
|
||||
Reference in New Issue
Block a user