P4 to Git Change 1371318 by asalmanp@asalmanp-opencl-stg on 2017/02/09 12:22:12

SWDEV-107075 - [OCL][VG10] Conformance RQ Mipmaps tests are failing. Adding the below changes to fix the failures

	- For 1Darray images the Height should be 1 and we should use the correct value for "numSlices" in copyRegion
	- For 2Darray images the Depth should be 1 and we should use the correct value for "numSlices" in copyRegion
	- The right Height should be used when gpuMemoryDepthPitch is calculated

	Also, PAL was not obeying the "numSlices" parameter for SDMA-based memory <--> image or image <--> image copies and this issue is fixed in CL#1369626.

	The current changes in OCL runtime will be submitted into stg once the above CL from PAL gets promoted into OCL stg.

	ReviewBoardURL = http://ocltc.amd.com/reviews/r/12260/

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.cpp#24 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#17 edit
Šī revīzija ir iekļauta:
foreman
2017-02-09 12:53:47 -05:00
vecāks 5dc87aa5f5
revīzija df5aae929a
2 mainīti faili ar 26 papildinājumiem un 12 dzēšanām
@@ -179,10 +179,6 @@ Settings::create(
switch (palProp.gfxLevel) {
case Pal::GfxIpLevel::GfxIp9:
aiPlus_ = true;
// 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!");