mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-22 09:12:24 +03:00
05a1f927f8678b1eb7ed8a07bc2690e416c7866e
- Setting different tpc_pg_mask value leads to GPU crash. - It is observed that with GPU railgating disabled, if tpc_pg_mask is set, "the gpu is powered on" error is reported and it won't allow to set the tpc_pg_mask, which is expected. - With GPU railgating enabled, the different tpc_pg_mask value is set and the GPU is crashed. - So, add check for golden image initialized before setting the TPC, GPC and FBP PG mask. - This check won't allow to update TPC, GPC and FBP mask after golden image initialization and thus no GPU crash happens. Bug 3544499 Change-Id: Ia003beaaec9dead22da74ea5862a81986780966b Signed-off-by: Divya <dsinghatwari@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2672202 Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> Reviewed-by: svc-mobile-cert <svc-mobile-cert@nvidia.com> Reviewed-by: Ninad Malwade <nmalwade@nvidia.com> Reviewed-by: Seema Khowala <seemaj@nvidia.com> Tested-by: Ninad Malwade <nmalwade@nvidia.com> GVS: Gerrit_Virtual_Submit
Description
No description provided