fix(ocloc): add 'asm' and 'disasm' support for missing opensourced platforms

This change addresses the lack of translation in the specified file,
which resulted in non-functional 'disasm' and 'asm' ocloc commands
for the following platforms: Meteor Lake (MTL), Arrow Lake (ARL),
Battle Mage (BMG), and Lunar Lake (LNL).

Signed-off-by: Naklicki, Mateusz <mateusz.naklicki@intel.com>
This commit is contained in:
Naklicki, Mateusz
2025-01-31 12:06:45 +00:00
committed by Compute-Runtime-Automation
parent 7f64b8c4db
commit 6d63f688eb
2 changed files with 17 additions and 2 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2019-2024 Intel Corporation
* Copyright (C) 2019-2025 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
@@ -25,6 +25,12 @@ inline iga_gen_t translateToIgaGenBase(PRODUCT_FAMILY productFamily) {
return IGA_XE_HPG;
case IGFX_PVC:
return IGA_XE_HPC;
case IGFX_METEORLAKE:
case IGFX_ARROWLAKE:
return IGA_XE_HPG;
case IGFX_BMG:
case IGFX_LUNARLAKE:
return IGA_XE2;
}
}
@@ -40,6 +46,8 @@ inline iga_gen_t translateToIgaGenBase(GFXCORE_FAMILY coreFamily) {
return IGA_XE_HPG;
case IGFX_XE_HPC_CORE:
return IGA_XE_HPC;
case IGFX_XE2_HPG_CORE:
return IGA_XE2;
}
}