mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-22 17:36:20 +03:00
gpu: nvgpu: Address Vectorcast gap for posix queue
Update unit test for posix queue unit to cover Vectorcast gap. Jira NVGPU-4478 Change-Id: I0d79861f173d511d25cf45051c399e3193eabdbe Signed-off-by: Petlozu Pravareshwar <petlozup@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2294146 Tested-by: mobile promotions <svcmobile_promotions@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
Alex Waterman
parent
566b1df08c
commit
c2fbc99967
@@ -137,6 +137,10 @@ int test_nvgpu_queue_in(struct unit_module *m, struct gk20a *g, void *args);
|
||||
* - Update "in" and "out" indexes and dequeue message of length BUF_LEN such
|
||||
* that we wrap around the Queue while dequeuing the message using
|
||||
* nvgpu_queue_out() API. Check that the API returns "BUF_LEN".
|
||||
* - Do fault injection so that immediate call to nvgpu_queue_out_locked() API
|
||||
* would return error.
|
||||
* - Invoke nvgpu_queue_out_locked() API and check that API returns -1 error.
|
||||
* - Remove the injected fault.
|
||||
* - Uninitialize the allocated resources.
|
||||
*
|
||||
* Output: Returns PASS if the steps above were executed successfully. FAIL
|
||||
|
||||
Reference in New Issue
Block a user