mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-23 01:50:07 +03:00
gpu: nvgpu: add test case target functions
Add the target function names for posix unit tests. Jira NVGPU-4478 Change-Id: I393c3d6ba99c96e54812e29dedc8abfe7afcebab Signed-off-by: ajesh <akv@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2276656 Reviewed-by: Philip Elcan <pelcan@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Vijayakumar Subbu <vsubbu@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2019, NVIDIA CORPORATION. All rights reserved.
|
||||
* Copyright (c) 2019-2020, NVIDIA CORPORATION. All rights reserved.
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||
* copy of this software and associated documentation files (the "Software"),
|
||||
@@ -49,6 +49,8 @@ struct unit_module;
|
||||
*
|
||||
* Test Type: Feature
|
||||
*
|
||||
* Targets: nvgpu_mutex_init, nvgpu_mutex_destroy
|
||||
*
|
||||
* Input: None
|
||||
*
|
||||
* Steps:
|
||||
@@ -67,6 +69,10 @@ int test_mutex_init(struct unit_module *m, struct gk20a *g, void *args);
|
||||
*
|
||||
* Test Type: Feature
|
||||
*
|
||||
* Targets: nvgpu_mutex_init, nvgpu_mutex_acquire, nvgpu_mutex_tryacquire,
|
||||
* nvgpu_mutex_release, nvgpu_mutex_destroy,
|
||||
* nvgpu_posix_lock_try_acquire, nvgpu_posix_lock_release
|
||||
*
|
||||
* Input: None
|
||||
*
|
||||
* Steps:
|
||||
@@ -93,6 +99,12 @@ int test_mutex_tryacquire(struct unit_module *m, struct gk20a *g, void *args);
|
||||
*
|
||||
* Test Type: Feature
|
||||
*
|
||||
* Targets: nvgpu_mutex_init, nvgpu_spinlock_init, nvgpu_raw_spinlock_init,
|
||||
* nvgpu_mutex_acquire, nvgpu_spinlock_acquire,
|
||||
* nvgpu_raw_spinlock_acquire, nvgpu_mutex_release,
|
||||
* nvgpu_spinlock_release, nvgpu_raw_spinlock_release,
|
||||
* nvgpu_posix_lock_acquire, nvgpu_posix_lock_release
|
||||
*
|
||||
* Input: @param args [in] Type of lock as defined by TYPE_* macros.
|
||||
*
|
||||
* Steps:
|
||||
|
||||
Reference in New Issue
Block a user