mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-12 17:33:00 +08:00
Linux dll tests: test turbo patch only on supported platforms
use deviceId from first entry in deviceDescriptorTable as default deviceId correct using simplified mocs table Change-Id: I3a6e7cd599912380d48937767f201b44ee98e391
This commit is contained in:
committed by
sys_ocldev
parent
c2368739ce
commit
08faa004aa
@@ -210,7 +210,7 @@ Drm *Drm::create(int32_t deviceOrdinal) {
|
||||
if (ret != 0) {
|
||||
//turbo patch not present, we are not on custom Kernel, switch to simplified Mocs selection
|
||||
//do this only for GEN9+
|
||||
if (eGtType >= GTTYPE_GTA) {
|
||||
if (device->pHwInfo->pPlatform->eRenderCoreFamily >= IGFX_GEN9_CORE) {
|
||||
Gmm::useSimplifiedMocsTable = true;
|
||||
}
|
||||
printDebugString(DebugManager.flags.PrintDebugMessages.get(), stderr, "%s", "WARNING: Failed to request OCL Turbo Boost\n");
|
||||
|
||||
Reference in New Issue
Block a user