gpu: nvgpu: Disable VFE secondary entry in clk_prog obj

As support of VFE secondary entry is not POR for tu10a
profile need to disable this in our NVGPU. If not the
clkDomainsIsSecVFCurvesEnabled() check in PMU firmware
will hit an halt.

JIRA NVGPU-3810

Change-Id: Id72550393a0255e7c663c3fde0bbbdcef2d5885e
Signed-off-by: rmylavarapu <rmylavarapu@nvidia.com>
Signed-off-by: Mahantesh Kumbar <mkumbar@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/2153124
Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com>
Reviewed-by: svc-mobile-misra <svc-mobile-misra@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Vijayakumar Subbu <vsubbu@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
rmylavarapu
2019-07-15 10:16:45 +05:30
committed by mobile promotions
parent 47a029918a
commit 89eec35887

View File

@@ -266,7 +266,8 @@ static int devinit_get_clk_prog_table_35(struct gk20a *g,
pclkprogobjs->slave_entry_count = header.slave_entry_count;
pclkprogobjs->vf_entry_count = header.vf_entry_count;
pclkprogobjs->vf_sec_entry_count = header.vf_sec_entry_count;
/* VFE Secondary entry is not supported for auto profile */
pclkprogobjs->vf_sec_entry_count = 0U;
for (i = 0; i < header.entry_count; i++) {
(void) memset(&prog_data, 0x0, (u32)sizeof(prog_data));