mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00
Set MaxEusPerSubslice from topology if not already set
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
This commit is contained in:

committed by
Compute-Runtime-Automation

parent
575445dbb5
commit
6486b3574d
@ -617,4 +617,10 @@ HWTEST2_F(HwConfigLinux, GivenDifferentValuesFromTopologyQueryWhenConfiguringHwI
|
||||
EXPECT_EQ(static_cast<uint32_t>(drm->storedSVal), outHwInfo.gtSystemInfo.MaxSlicesSupported);
|
||||
|
||||
EXPECT_EQ(hwInfo.gtSystemInfo.MaxDualSubSlicesSupported, outHwInfo.gtSystemInfo.MaxDualSubSlicesSupported);
|
||||
|
||||
hwInfo.gtSystemInfo.MaxEuPerSubSlice = 0;
|
||||
|
||||
ret = hwConfig->configureHwInfoDrm(&hwInfo, &outHwInfo, osInterface.get());
|
||||
EXPECT_EQ(0, ret);
|
||||
EXPECT_EQ(8u, outHwInfo.gtSystemInfo.MaxEuPerSubSlice);
|
||||
}
|
||||
|
Reference in New Issue
Block a user