P4 to Git Change 1363842 by asalmanp@asalmanp-opencl-stg on 2017/01/19 11:35:19
SWDEV-107075 - [OCL][VG10] Conformance RQ Mipmaps tests are failing. Adding a temporary workaround for Vega10 to disable sDMA transfers for MemToImage and ImageToMem for 1Darray image format for now and use Kernles instead until the failures can be root-caused and fixed. GPU_DISABLE_SDMA_IMG_MEM_IMG environment variable was also added to quickly enable back the sDMA for testing and continuing the current failure investigation. ReviewBoardURL = http://ocltc.amd.com/reviews/r/12194/ Affected files ... ... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.cpp#22 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#14 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.hpp#8 edit ... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#265 edit
This commit is contained in:
@@ -137,6 +137,9 @@ Settings::Settings()
|
||||
|
||||
// Disable SDMA workaround by default
|
||||
sdamPageFaultWar_ = false;
|
||||
|
||||
// Disable SDMA copy for Image to Mem and Mem to Image by default
|
||||
disableSdmaMemoryToImage_ = false;
|
||||
}
|
||||
|
||||
bool
|
||||
@@ -176,6 +179,11 @@ Settings::create(
|
||||
switch (palProp.gfxLevel) {
|
||||
case Pal::GfxIpLevel::GfxIp9:
|
||||
aiPlus_ = true;
|
||||
if (!apuSystem_)
|
||||
// This is a temporary workaround to disable sDMA for MemToImage and
|
||||
// ImageToMem copies and needs be removed later once we have a fix
|
||||
// for Conf. images(mipmaps) 1Darray failures on Vega10
|
||||
disableSdmaMemoryToImage_ = GPU_DISABLE_SDMA_MEMORY_TO_IMAGE;
|
||||
break;
|
||||
default:
|
||||
assert(0 && "Unknown GfxIP type!");
|
||||
|
||||
Reference in New Issue
Block a user