mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-25 13:33:02 +08:00
Remove HW types from synchronization interface
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
975e2af781
commit
a3903c385e
@@ -35,7 +35,7 @@ void CommandStreamReceiverHw<Family>::programMediaSampler(LinearStream &stream,
|
||||
args.vfCacheInvalidationEnable = true;
|
||||
args.constantCacheInvalidationEnable = true;
|
||||
args.stateCacheInvalidationEnable = true;
|
||||
MemorySynchronizationCommands<Family>::addPipeControl(stream, args);
|
||||
MemorySynchronizationCommands<Family>::addSingleBarrier(stream, args);
|
||||
|
||||
uint32_t numSubslices = hwInfo.gtSystemInfo.SubSliceCount;
|
||||
uint32_t numSubslicesWithVme = numSubslices / 2; // 1 VME unit per DSS
|
||||
@@ -54,7 +54,7 @@ void CommandStreamReceiverHw<Family>::programMediaSampler(LinearStream &stream,
|
||||
false);
|
||||
|
||||
args = {};
|
||||
MemorySynchronizationCommands<Family>::addPipeControl(stream, args);
|
||||
MemorySynchronizationCommands<Family>::addSingleBarrier(stream, args);
|
||||
|
||||
lastVmeSubslicesConfig = true;
|
||||
}
|
||||
@@ -70,10 +70,10 @@ void CommandStreamReceiverHw<Family>::programMediaSampler(LinearStream &stream,
|
||||
args.constantCacheInvalidationEnable = true;
|
||||
args.stateCacheInvalidationEnable = true;
|
||||
args.genericMediaStateClear = true;
|
||||
MemorySynchronizationCommands<Family>::addPipeControl(stream, args);
|
||||
MemorySynchronizationCommands<Family>::addSingleBarrier(stream, args);
|
||||
|
||||
args = {};
|
||||
MemorySynchronizationCommands<Family>::addPipeControl(stream, args);
|
||||
MemorySynchronizationCommands<Family>::addSingleBarrier(stream, args);
|
||||
|
||||
// In Gen11-LP, software programs this register as if GT consists of
|
||||
// 2 slices with 4 subslices in each slice. Hardware maps this to the
|
||||
@@ -95,7 +95,7 @@ void CommandStreamReceiverHw<Family>::programMediaSampler(LinearStream &stream,
|
||||
reg.TheStructure.RawData[0],
|
||||
false);
|
||||
|
||||
MemorySynchronizationCommands<Family>::addPipeControl(stream, args);
|
||||
MemorySynchronizationCommands<Family>::addSingleBarrier(stream, args);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user