mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-23 18:16:01 +03:00
MISRA Rule 9.5 requires designated initializers to be used to initialize an array object. The size of the array shall also be specified explicitly. Add GP106_NUM_MEM_CONFIG to specify mem_config array size, and use explicit indexes in the array initializer for mclk switching scripts. Renamed memory configuration for OEM version 12 of PG189 VBIOS to GP106_MEM_CONFIG_GDDR5_PG419_12. Also shorten the name of related scripts. Jira NVGPU-891 Change-Id: Ib10786ed080f5dc415ca5ea3ccf82f6b9f3b1658 Signed-off-by: Thomas Fleury <tfleury@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1930925 Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Alex Waterman <alexw@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>