mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 06:49:52 +08:00
refactor: remove not needed constant isUsingMediaSamplerDopClockGate
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
066447e5eb
commit
aeb46dc785
@@ -46,10 +46,6 @@ void PreambleHelper<Family>::programPipelineSelect(LinearStream *pCommandStream,
|
||||
auto mask = pipelineSelectEnablePipelineSelectMaskBits;
|
||||
|
||||
cmd.setPipelineSelection(PIPELINE_SELECT::PIPELINE_SELECTION_GPGPU);
|
||||
if constexpr (Family::isUsingMediaSamplerDopClockGate) {
|
||||
mask |= pipelineSelectMediaSamplerDopClockGateMaskBits;
|
||||
cmd.setMediaSamplerDopClockGateEnable(!pipelineSelectArgs.mediaSamplerRequired);
|
||||
}
|
||||
|
||||
bool systolicSupport = pipelineSelectArgs.systolicPipelineSelectSupport;
|
||||
bool systolicValue = pipelineSelectArgs.systolicPipelineSelectMode;
|
||||
|
||||
@@ -27,7 +27,6 @@ struct Xe2HpgCore {
|
||||
static constexpr uint32_t stateComputeModeMemoryAllocationForScratchAndMidthreadPreemptionBuffersMask = (1u << 11);
|
||||
|
||||
static constexpr bool isUsingL3Control = false;
|
||||
static constexpr bool isUsingMediaSamplerDopClockGate = false;
|
||||
static constexpr bool supportsSampler = true;
|
||||
static constexpr bool isUsingGenericMediaStateClear = false;
|
||||
static constexpr bool isUsingMiMemFence = true;
|
||||
|
||||
@@ -30,7 +30,6 @@ struct Xe3Core {
|
||||
static constexpr uint32_t timestampPacketCount = 16u;
|
||||
|
||||
static constexpr bool isUsingL3Control = false;
|
||||
static constexpr bool isUsingMediaSamplerDopClockGate = false;
|
||||
static constexpr bool supportsSampler = true;
|
||||
static constexpr bool isUsingGenericMediaStateClear = false;
|
||||
static constexpr bool isUsingMiMemFence = true;
|
||||
|
||||
@@ -31,7 +31,6 @@ struct XeHpcCore {
|
||||
static constexpr uint32_t timestampPacketCount = 16u;
|
||||
|
||||
static constexpr bool isUsingL3Control = false;
|
||||
static constexpr bool isUsingMediaSamplerDopClockGate = false;
|
||||
static constexpr bool supportsSampler = false;
|
||||
static constexpr bool isUsingGenericMediaStateClear = true;
|
||||
static constexpr bool isUsingMiMemFence = true;
|
||||
|
||||
@@ -31,7 +31,6 @@ struct XeHpgCore {
|
||||
static constexpr uint32_t timestampPacketCount = 1u;
|
||||
|
||||
static constexpr bool isUsingL3Control = true;
|
||||
static constexpr bool isUsingMediaSamplerDopClockGate = false;
|
||||
static constexpr bool supportsSampler = true;
|
||||
static constexpr bool isUsingGenericMediaStateClear = true;
|
||||
static constexpr bool isUsingMiMemFence = false;
|
||||
|
||||
Reference in New Issue
Block a user