P4 to Git Change 1973183 by gandryey@gera-win10 on 2019/07/24 18:26:45

SWDEV-79445 - OCL generic changes and code clean-up
	- Make sure PAL_DISABLE_SDMA is fully functional. CP DMA is used for buffer transfers currently and kernels for images and buffer rect copies.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palblit.cpp#32 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#150 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#92 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.hpp#25 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#142 edit
Dieser Commit ist enthalten in:
foreman
2019-07-24 18:32:37 -04:00
Ursprung 7efe014e65
Commit 565ef2dac5
5 geänderte Dateien mit 12 neuen und 9 gelöschten Zeilen
@@ -145,6 +145,7 @@ Settings::Settings() {
lcWavefrontSize64_ = true;
enableHwP2P_ = false;
imageBufferWar_ = false;
disableSdma_ = PAL_DISABLE_SDMA;
}
bool Settings::create(const Pal::DeviceProperties& palProp,
@@ -338,6 +339,9 @@ bool Settings::create(const Pal::DeviceProperties& palProp,
imageBufferWar_ = GPU_IMAGE_BUFFER_WAR;
}
// Image DMA must be disabled if SDMA is disabled
imageDMA_ &= !disableSdma_;
splitSizeForWin7_ = false;
#if defined(_WIN32)