gpu: nvgpu: disable NVGPU_ERRATA_3288192 on non-auto platforms

NVGPU_ERRATA_3288192 is only applicable for automotive platforms, so have
it disabled on other platforms.

Bug 3604690

Change-Id: Id45622a629ebf9e2dfc10365981c3e1bde1e2941
Signed-off-by: Antony Clince Alex <aalex@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2700380
Reviewed-by: Sagar Kamble <skamble@nvidia.com>
Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com>
Reviewed-by: svc-mobile-misra <svc-mobile-misra@nvidia.com>
Reviewed-by: svc-mobile-cert <svc-mobile-cert@nvidia.com>
Reviewed-by: Vijayakumar Subbu <vsubbu@nvidia.com>
Tested-by: Sagar Kamble <skamble@nvidia.com>
GVS: Gerrit_Virtual_Submit
This commit is contained in:
Antony Clince Alex
2022-04-20 14:39:19 +00:00
committed by mobile promotions
parent 951ad46819
commit cc19bc8ac9

View File

@@ -1860,7 +1860,18 @@ int ga10b_init_hal(struct gk20a *g)
nvgpu_set_errata(g, NVGPU_ERRATA_200391931, true); nvgpu_set_errata(g, NVGPU_ERRATA_200391931, true);
nvgpu_set_errata(g, NVGPU_ERRATA_200677649, true); nvgpu_set_errata(g, NVGPU_ERRATA_200677649, true);
nvgpu_set_errata(g, NVGPU_ERRATA_3154076, true); nvgpu_set_errata(g, NVGPU_ERRATA_3154076, true);
nvgpu_set_errata(g, NVGPU_ERRATA_3288192, true);
/*
* NVGPU_ERRATA_3288192 is only applicable for auto platforms which are
* always virtualized, hence disable this errata on non-virtualized
* platforms.
*/
if (nvgpu_is_hypervisor_mode(g)) {
nvgpu_set_errata(g, NVGPU_ERRATA_3288192, true);
} else {
nvgpu_set_errata(g, NVGPU_ERRATA_3288192, false);
}
nvgpu_set_errata(g, NVGPU_ERRATA_SYNCPT_INVALID_ID_0, true); nvgpu_set_errata(g, NVGPU_ERRATA_SYNCPT_INVALID_ID_0, true);
nvgpu_set_errata(g, NVGPU_ERRATA_2557724, true); nvgpu_set_errata(g, NVGPU_ERRATA_2557724, true);
nvgpu_set_errata(g, NVGPU_ERRATA_3524791, true); nvgpu_set_errata(g, NVGPU_ERRATA_3524791, true);