mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-22 09:12:24 +03:00
gpu: nvgpu: unit: add negative tests for common.gr.obj_ctx
Add negative tests that inject memory allocation failures and HAL function call errors to verify error handling path in common.gr.obj_ctx unit. Update common.gr.setup test to cover invalid class input while setting preemption mode. Jira NVGPU-4457 Change-Id: I74d1ba63ba8aace6087b51fd50e2c136822d3a00 Signed-off-by: Deepak Nibade <dnibade@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2260939 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
Alex Waterman
parent
34020a5999
commit
fdb8046812
@@ -122,6 +122,7 @@ NV_REPOSITORY_COMPONENTS += userspace/units/gr/setup
|
||||
NV_REPOSITORY_COMPONENTS += userspace/units/gr/fs_state
|
||||
NV_REPOSITORY_COMPONENTS += userspace/units/gr/global_ctx
|
||||
NV_REPOSITORY_COMPONENTS += userspace/units/gr/ctx
|
||||
NV_REPOSITORY_COMPONENTS += userspace/units/gr/obj_ctx
|
||||
NV_REPOSITORY_COMPONENTS += userspace/units/gr/intr
|
||||
NV_REPOSITORY_COMPONENTS += userspace/units/acr
|
||||
NV_REPOSITORY_COMPONENTS += userspace/units/ce
|
||||
|
||||
Reference in New Issue
Block a user