mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-09 06:23:01 +08:00
Do not use simplified Mocs Table on gen8 devices.
- On gen8 devices we are not using index to control caching, but we program caches directly - In such case we need to rely on values reported from GMM instead of using Kernel Mocs indexes. Change-Id: I6c030847509d8f39f63ac98ebd3ebd0b0907e625
This commit is contained in:
committed by
sys_ocldev
parent
5d296f15e3
commit
86e000f67a
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2017, Intel Corporation
|
||||
* Copyright (c) 2017 - 2018, Intel Corporation
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||
* copy of this software and associated documentation files (the "Software"),
|
||||
@@ -209,7 +209,10 @@ Drm *Drm::create(int32_t deviceOrdinal) {
|
||||
ret = drmObject->enableTurboBoost();
|
||||
if (ret != 0) {
|
||||
//turbo patch not present, we are not on custom Kernel, switch to simplified Mocs selection
|
||||
Gmm::useSimplifiedMocsTable = true;
|
||||
//do this only for GEN9+
|
||||
if (eGtType >= GTTYPE_GTA) {
|
||||
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