mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 02:22:34 +03:00
Starting with nvgpu-next, the ctxsw ucode computes the checksum for each ctxsw'ed register list, this checksum is saved at the end of the same list; This entry will be given a special placeholder address 0x00ffffff, which can be used to distinguish it from other entries in the register list. There is only one checksum per list, even if it has multiple subunits. Hence, update "add_ctxsw_buffer_map_entries_subunits" to avoid adding checksum entires for each subunit within a list. Bug 2916121 Change-Id: Ia7abedc7467ae8158ce3e791a67765fb52889915 Signed-off-by: Antony Clince Alex <aalex@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2457579 Tested-by: mobile promotions <svcmobile_promotions@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: Seshendra Gadagottu <sgadagottu@nvidia.com> Reviewed-by: Deepak Nibade <dnibade@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> GVS: Gerrit_Virtual_Submit