mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-26 15:03:02 +08:00
Only use blitter on dg1 for allocations with no cpu pointer.
Change-Id: Id52df50f5630461ffc83097d7e74d402599bed56 Signed-off-by: Piotr Zdunowski <piotr.zdunowski@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
442b6cfc47
commit
a568739061
@@ -89,8 +89,8 @@ bool is3DPipelineSelectWARequired(const HardwareInfo &hwInfo) {
|
||||
return (hwInfo.platform.eProductFamily == IGFX_TIGERLAKE_LP || hwInfo.platform.eProductFamily == IGFX_DG1 || hwInfo.platform.eProductFamily == IGFX_ROCKETLAKE);
|
||||
}
|
||||
|
||||
bool forceBlitterUseForGlobalBuffers(const HardwareInfo &hwInfo) {
|
||||
if (hwInfo.platform.eProductFamily == PRODUCT_FAMILY::IGFX_DG1) {
|
||||
bool forceBlitterUseForGlobalBuffers(const HardwareInfo &hwInfo, GraphicsAllocation *allocation) {
|
||||
if (hwInfo.platform.eProductFamily == PRODUCT_FAMILY::IGFX_DG1 && allocation->getUnderlyingBuffer() == 0) {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user