esmi: Clone open-source esmi repo as part of build

1. Remove esmi (internal gerrit) repo as git submodule
2. Clone esmi (open-source) repo during cmake using "git clone"
3. Download amd_hsmp.h header file during cmake build

TODO:
We can update the amd_hsmp.h to mainline linux kernel repo after
next Linux kernel release.

Change-Id: I763b5e287e24337c8e9e25f4e421cdb8698b9322


[ROCm/amdsmi commit: 597fb00bef]
Tá an tiomantas seo le fáil i:
Suma Hegde údaraithe agus Dmitrii Galantsev tiomanta 2023-10-16 15:06:02 -04:00
1 tuismitheoir 45fb716d65
tiomantas 1bf35b5c05
5 comhad athraithe
+20 -17

Níor tháinig aon chomhaid le do chuardach

+1 -1
Féach ar an gComhad
@@ -50,7 +50,7 @@ set(INC_LIST
"${PROJECT_SOURCE_DIR}/rocm_smi/include/rocm_smi/rocm_smi.h"
"${PROJECT_SOURCE_DIR}/rocm_smi/include/rocm_smi/rocm_smi_utils.h")
if(ESMI_AVAILABLE)
if(ENABLE_ESMI_LIB)
list(APPEND INC_LIST ${ESMI_INC_DIR}/e_smi/e_smi.h)
list(APPEND INC_LIST ${ESMI_INC_DIR}/e_smi/e_smi_monitor.h)
list(APPEND INC_LIST ${ESMI_INC_DIR}/e_smi/e_smi_utils.h)