MGS-5458 [#imx-1708] fix GPU/VIP coreIndex issue
coreInfoArray use offset as coreIndex, not use hardware core Fix: 8744fe58453c("MGS-5372 [#imx-1708] Fix the VX/CL apps hang for 865 GPU/VIP ") Signed-off-by: Xianzhong <xianzhong.li@nxp.com>5.4-rM2-2.2.x-imx-squashed
parent
b7096c3615
commit
e688e85dac
|
@ -5393,10 +5393,18 @@ gckDEVICE_ChipInfo(
|
|||
|
||||
for (i = 0; i < Device->coreNum; i++)
|
||||
{
|
||||
Interface->u.ChipInfo.types[i] = info[i].type;
|
||||
gceHARDWARE_TYPE type = info[i].type;
|
||||
Interface->u.ChipInfo.types[i] = type;
|
||||
Interface->u.ChipInfo.ids[i] = info[i].chipID;
|
||||
|
||||
Interface->u.ChipInfo.coreIndexs[i] = info[i].core;
|
||||
if (type == gcvHARDWARE_3D || type == gcvHARDWARE_3D2D || type == gcvHARDWARE_VIP)
|
||||
{
|
||||
Interface->u.ChipInfo.coreIndexs[i] = i;
|
||||
}
|
||||
else
|
||||
{
|
||||
Interface->u.ChipInfo.coreIndexs[i] = info[i].core;
|
||||
}
|
||||
}
|
||||
|
||||
Interface->u.ChipInfo.count = Device->coreNum;
|
||||
|
|
Loading…
Reference in New Issue