mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-13 01:42:56 +08:00
Disable L1 for Gen12lp
Change-Id: I3b0ec2a6ea9a3bb72507ff66d314bfb1ad7a6a81 Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
ef76c7bdf6
commit
38ca6e9862
@@ -56,8 +56,8 @@ void EncodeSurfaceState<Family>::encodeExtraBufferParams(R_SURFACE_STATE *surfac
|
||||
const bool isConstantSurface = allocation && allocation->getAllocationType() == GraphicsAllocation::AllocationType::CONSTANT_SURFACE;
|
||||
bool useL1 = isReadOnly || isConstantSurface;
|
||||
|
||||
if (DebugManager.flags.ForceL1Caching.get() != -1) {
|
||||
useL1 = !!DebugManager.flags.ForceL1Caching.get();
|
||||
if (DebugManager.flags.ForceL1Caching.get() != 1) {
|
||||
useL1 = false;
|
||||
}
|
||||
|
||||
if (useL1) {
|
||||
|
||||
@@ -243,8 +243,8 @@ bool HwHelperHw<Family>::useOnlyGlobalTimestamps() const {
|
||||
template <>
|
||||
uint32_t HwHelperHw<Family>::getMocsIndex(const GmmHelper &gmmHelper, bool l3enabled, bool l1enabled) const {
|
||||
if (l3enabled) {
|
||||
if (DebugManager.flags.ForceL1Caching.get() != -1) {
|
||||
l1enabled = !!DebugManager.flags.ForceL1Caching.get();
|
||||
if (DebugManager.flags.ForceL1Caching.get() != 1) {
|
||||
l1enabled = false;
|
||||
}
|
||||
|
||||
if (l1enabled) {
|
||||
|
||||
Reference in New Issue
Block a user