gpu: nvgpu: Support for runlist_max_supported

nvgpu_next needs support for max_runlist_supported by litter
value. So the function is changed to support.

JIRA NVGPU-5534

Change-Id: I097f6343295049532c46904316314dc82092a46b
Signed-off-by: Dinesh <dt@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2382882
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
Dinesh
2020-07-21 13:55:53 +05:30
committed by Alex Waterman
parent 58ef68e162
commit d0087f3ad8
12 changed files with 23 additions and 17 deletions

View File

@@ -160,7 +160,7 @@ done:
int test_gv11b_runlist_count_max(struct unit_module *m,
struct gk20a *g, void *args)
{
if (gv11b_runlist_count_max() != fifo_eng_runlist_base__size_1_v()) {
if (gv11b_runlist_count_max(g) != fifo_eng_runlist_base__size_1_v()) {
unit_return_fail(m, "runlist count max value incorrect\n");
}