mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 02:22:34 +03:00
gpu: nvgpu: unit: add channel close tests
Add branch coverage for: - nvgpu_channel_kill - nvgpu_channel_close Also, modified gk20a_free_channel as follows: - use nvgpu_assert to check ch->g (so that it can be tested) - make sure g is non-NULL before calling nvgpu_get_poll_timeout Jira NVGPU-3480 Change-Id: Ie1fa231b022da47b9ef9022ae67a6b3d73c28a8b Signed-off-by: Thomas Fleury <tfleury@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2129724 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
1eef4eaae5
commit
0624d908cd
@@ -28,6 +28,7 @@
|
||||
|
||||
#include <nvgpu/channel.h>
|
||||
#include <nvgpu/tsg.h>
|
||||
#include <nvgpu/mm.h>
|
||||
#include <nvgpu/fifo/userd.h>
|
||||
#include <nvgpu/gk20a.h>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user