P4 to Git Change 1271191 by gandryey@gera-w8 on 2016/05/19 18:42:50
SWDEV-86035 - Add PAL backend to OpenCL - Adds SDMA worakround for pagefault - Removes directSRD and hsail flags - Fixes a BSOD with the latets PAL on Fiji. KMD expects a valid UMD client Affected files ... ... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpukernel.cpp#315 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.cpp#225 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.cpp#345 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.hpp#96 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palbe/src/core/os/win/winPlatform.cpp#4 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#7 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.cpp#6 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#4 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.cpp#4 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#3 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.hpp#3 edit ... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#254 edit
This commit is contained in:
@@ -1178,7 +1178,9 @@ Resource::partialMemCopyTo(
|
||||
// Make sure linear pitch in bytes is 4 bytes aligned
|
||||
if (((copyRegion.gpuMemoryRowPitch % 4) != 0) ||
|
||||
// another DRM restriciton... SI has 4 pixels
|
||||
(copyRegion.gpuMemoryOffset % 4 != 0)) {
|
||||
(copyRegion.gpuMemoryOffset % 4 != 0) ||
|
||||
(dev().settings().sdamPageFaultWar_ &&
|
||||
(copyRegion.imageOffset.x % dstResource.elementSize() != 0))) {
|
||||
result = false;
|
||||
}
|
||||
else {
|
||||
@@ -1204,7 +1206,9 @@ Resource::partialMemCopyTo(
|
||||
// Make sure linear pitch in bytes is 4 bytes aligned
|
||||
if (((copyRegion.gpuMemoryRowPitch % 4) != 0) ||
|
||||
// another DRM restriciton... SI has 4 pixels
|
||||
(copyRegion.gpuMemoryOffset % 4 != 0)) {
|
||||
(copyRegion.gpuMemoryOffset % 4 != 0) ||
|
||||
(dev().settings().sdamPageFaultWar_ &&
|
||||
(copyRegion.imageOffset.x % elementSize() != 0))) {
|
||||
result = false;
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user