mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 10:34:43 +03:00
Pascal+ chips do not support updating PC sampling using register NV_CTXSW_MAIN_IMAGE_PM (Unlike GM20B, bit 6 = PC_SAMPLING is not present on GP10b, GV11b and TU104). To correct this in NVGPU, we are setting the set_pc_sampling HAL to NULL. We need to make sure devtools also does not call into these APIs. Until the devtools team updates their code, we would return success(0) from update_pc_sampling API even if the HAL is set to NULL. Filed http://nvbugs/200671026 for devtools team. Bug 200604892 Bug 200671026 Change-Id: I6334d4b2a84d7a0f676d7e2faad4befde5f76310 Signed-off-by: tkudav <tkudav@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2437002 Reviewed-by: automaticguardword <automaticguardword@nvidia.com> Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> Reviewed-by: svc-mobile-cert <svc-mobile-cert@nvidia.com> Reviewed-by: Deepak Nibade <dnibade@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> GVS: Gerrit_Virtual_Submit Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>