From 7525e87d594bd9b7c33fc6e85bd80752af25111c Mon Sep 17 00:00:00 2001 From: tkudav Date: Fri, 10 Jan 2020 13:00:40 +0530 Subject: [PATCH] gpu: nvgpu: Update Targets in common.top SWUTS Update the "Targets:" field entries to match the names of gops function pointers in SWUD. JIRA NVGPU-4679 Change-Id: I2723fa51329943e2d8fe6f30cb8954d05344389d Signed-off-by: tkudav Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2277095 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Deepak Nibade GVS: Gerrit_Virtual_Submit Reviewed-by: mobile promotions Tested-by: mobile promotions --- userspace/units/top/nvgpu-top.h | 30 +++++++++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) diff --git a/userspace/units/top/nvgpu-top.h b/userspace/units/top/nvgpu-top.h index 0920bb881..610871c4b 100644 --- a/userspace/units/top/nvgpu-top.h +++ b/userspace/units/top/nvgpu-top.h @@ -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"), @@ -77,6 +77,8 @@ int test_top_free_reg_space(struct unit_module *m, struct gk20a *g, void *args); * * Test Type: Feature, Error injection * + * Targets: gops_top.device_info_parse_enum, gm20b_device_info_parse_enum + * * Input: test_top_setup() has been executed. * * Steps: @@ -117,6 +119,8 @@ int test_device_info_parse_enum(struct unit_module *m, struct gk20a *g, * * Test Type: Feature * + * Targets: gops_top.get_max_gpc_count, gm20b_top_get_max_gpc_count + * * Input: test_top_setup() has been executed. * * Steps: @@ -141,6 +145,8 @@ int test_get_max_gpc_count(struct unit_module *m, struct gk20a *g, * * Test Type: Feature * + * Targets: gops_top.is_engine_gr, gm20b_is_engine_gr + * * Input: test_top_setup() has been executed. * * Steps: @@ -163,6 +169,9 @@ int test_is_engine_gr(struct unit_module *m, struct gk20a *g, void *args); * * Test Type: Feature * + * Targets: gops_top.get_max_tpc_per_gpc_count, + * gm20b_top_get_max_tpc_per_gpc_count + * * Input: test_top_setup() has been executed. * * Steps: @@ -187,6 +196,8 @@ int test_get_max_tpc_per_gpc_count(struct unit_module *m, struct gk20a *g, * * Test Type: Feature * + * Targets: gops_top.get_max_fbps_count, gm20b_top_get_max_fbps_count + * * Input: test_top_setup() has been executed. * * Steps: @@ -211,6 +222,8 @@ int test_get_max_fbps_count(struct unit_module *m, struct gk20a *g, * * Test Type: Feature * + * Targets: gops_top.get_max_ltc_per_fbp, gm20b_top_get_max_ltc_per_fbp + * * Input: test_top_setup() has been executed. * * Steps: @@ -235,6 +248,8 @@ int test_get_max_ltc_per_fbp(struct unit_module *m, struct gk20a *g, * * Test Type: Feature * + * Targets: gops_top.get_max_lts_per_ltc, gm20b_top_get_max_lts_per_ltc + * * Input: test_top_setup() has been executed. * * Steps: @@ -259,6 +274,8 @@ int test_get_max_lts_per_ltc(struct unit_module *m, struct gk20a *g, * * Test Type: Feature * + * Targets: gops_top.get_num_ltcs, gm20b_top_get_num_ltcs + * * Input: test_top_setup() has been executed. * * Steps: @@ -282,6 +299,8 @@ int test_get_num_ltcs(struct unit_module *m, struct gk20a *g, void *args); * * Test Type: Feature, Error injection * + * Targets: gops_top.device_info_parse_data, gv11b_device_info_parse_data + * * Input: test_top_setup() has been executed. * * Steps: @@ -325,6 +344,9 @@ int test_device_info_parse_data(struct unit_module *m, struct gk20a *g, * * Test Type: Feature * + * Targets: gops_top.get_num_engine_type_entries, + * gp10b_get_num_engine_type_entries + * * Input: test_top_setup() has been executed. * * Steps: @@ -348,6 +370,8 @@ int test_get_num_engine_type_entries(struct unit_module *m, struct gk20a *g, * * Test Type: Feature * + * Targets: gops_top.get_device_info, gp10b_get_device_info + * * Input: test_top_setup() has been executed. * * Steps: @@ -379,6 +403,8 @@ int test_get_device_info(struct unit_module *m, struct gk20a *g, void *args); * * Test Type: Feature * + * Targets: gops_top.is_engine_ce, gp10b_is_engine_ce + * * Input: test_top_setup() has been executed. * * Steps: @@ -401,6 +427,8 @@ int test_is_engine_ce(struct unit_module *m, struct gk20a *g, void *args); * * Test Type: Feature * + * Targets: gops_top.get_num_lce, gv11b_top_get_num_lce + * * Input: test_top_setup() has been executed. * * Steps: