mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-18 22:08:53 +08:00
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:
committed by
Compute-Runtime-Automation
parent
7f64b8c4db
commit
6d63f688eb
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user