mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 14:55:24 +08:00
Change-Id: Ibf17e6a8bc90297b9549674cf8b0bcbe64d3fb28 Signed-off-by: Pawel Wilma <pawel.wilma@intel.com>
40 lines
1.3 KiB
C++
40 lines
1.3 KiB
C++
/*
|
|
* Copyright (C) 2019-2020 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include "core/gen12lp/hw_cmds_base.h"
|
|
|
|
namespace AubMemDump {
|
|
struct AubStream;
|
|
}
|
|
struct AubGTTData;
|
|
|
|
namespace NEO {
|
|
class CommandStreamReceiver;
|
|
class GraphicsAllocation;
|
|
struct PipelineSelectArgs;
|
|
class Image;
|
|
|
|
namespace Gen12LPHelpers {
|
|
bool pipeControlWaRequired(PRODUCT_FAMILY productFamily);
|
|
bool imagePitchAlignmentWaRequired(PRODUCT_FAMILY productFamily);
|
|
void adjustCoherencyFlag(PRODUCT_FAMILY productFamily, bool &coherencyFlag);
|
|
bool isLocalMemoryEnabled(const HardwareInfo &hwInfo);
|
|
void initAdditionalGlobalMMIO(const CommandStreamReceiver &commandStreamReceiver, AubMemDump::AubStream &stream);
|
|
uint64_t getPPGTTAdditionalBits(GraphicsAllocation *graphicsAllocation);
|
|
void adjustAubGTTData(const CommandStreamReceiver &commandStreamReceiver, AubGTTData &data);
|
|
void setAdditionalPipelineSelectFields(void *pipelineSelectCmd,
|
|
const PipelineSelectArgs &pipelineSelectArgs,
|
|
const HardwareInfo &hwInfo);
|
|
bool isOffsetToSkipSetFFIDGPWARequired(const HardwareInfo &hwInfo);
|
|
bool isForceDefaultRCSEngineWARequired(const HardwareInfo &hwInfo);
|
|
bool isForceEmuInt32DivRemSPWARequired(const HardwareInfo &hwInfo);
|
|
|
|
} // namespace Gen12LPHelpers
|
|
} // namespace NEO
|