diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/pmu_gk20a.c')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/pmu_gk20a.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/pmu_gk20a.c b/drivers/gpu/nvgpu/gk20a/pmu_gk20a.c index a1e0be19..b0940229 100644 --- a/drivers/gpu/nvgpu/gk20a/pmu_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/pmu_gk20a.c | |||
@@ -1442,6 +1442,7 @@ int gk20a_init_pmu(struct pmu_gk20a *pmu) | |||
1442 | break; | 1442 | break; |
1443 | case APP_VERSION_GM206: | 1443 | case APP_VERSION_GM206: |
1444 | case APP_VERSION_NV_GPU: | 1444 | case APP_VERSION_NV_GPU: |
1445 | case APP_VERSION_NV_GPU_1: | ||
1445 | g->ops.pmu_ver.pg_cmd_eng_buf_load_size = | 1446 | g->ops.pmu_ver.pg_cmd_eng_buf_load_size = |
1446 | pg_cmd_eng_buf_load_size_v2; | 1447 | pg_cmd_eng_buf_load_size_v2; |
1447 | g->ops.pmu_ver.pg_cmd_eng_buf_load_set_cmd_type = | 1448 | g->ops.pmu_ver.pg_cmd_eng_buf_load_set_cmd_type = |
@@ -1500,7 +1501,8 @@ int gk20a_init_pmu(struct pmu_gk20a *pmu) | |||
1500 | g->ops.pmu_ver.pmu_allocation_set_dmem_offset = | 1501 | g->ops.pmu_ver.pmu_allocation_set_dmem_offset = |
1501 | pmu_allocation_set_dmem_offset_v3; | 1502 | pmu_allocation_set_dmem_offset_v3; |
1502 | 1503 | ||
1503 | if(pmu->desc->app_version != APP_VERSION_NV_GPU) { | 1504 | if(pmu->desc->app_version != APP_VERSION_NV_GPU && |
1505 | pmu->desc->app_version != APP_VERSION_NV_GPU_1) { | ||
1504 | g->ops.pmu_ver.get_pmu_init_msg_pmu_queue_params = | 1506 | g->ops.pmu_ver.get_pmu_init_msg_pmu_queue_params = |
1505 | get_pmu_init_msg_pmu_queue_params_v2; | 1507 | get_pmu_init_msg_pmu_queue_params_v2; |
1506 | g->ops.pmu_ver.get_pmu_msg_pmu_init_msg_ptr = | 1508 | g->ops.pmu_ver.get_pmu_msg_pmu_init_msg_ptr = |