P4 to Git Change 1195487 by gandryey@gera-dev-w7 on 2015/09/29 11:12:06

SWDEV-77545 - Relax Cypress restriction on SDMA copy
	- The original check for offest was wrong. We have to check the linear buffer alignment

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDevice.cpp#145 edit


[ROCm/clr commit: 1eab831776]
Этот коммит содержится в:
foreman
2015-09-29 11:28:33 -04:00
родитель 238742f255
Коммит 5000c4feb0
+2 -2
Просмотреть файл
@@ -1382,7 +1382,7 @@ CALGSLDevice::GetCopyType(
// Make sure linear pitch in bytes is 4 bytes aligned
if (((linearBytePitch % 4) == 0) &&
// another DRM restriciton... SI has 4 pixels
(srcOffset[0] % 4 == 0))
(destOffset[0] % 4 == 0))
{
type = USE_DRMDMA_T2L;
}
@@ -1401,7 +1401,7 @@ CALGSLDevice::GetCopyType(
// Make sure linear pitch in bytes is 4 bytes aligned
if (((linearBytePitch % 4) == 0) &&
// another DRM restriciton... SI has 4 pixels
(destOffset[0] % 4 == 0))
(srcOffset[0] % 4 == 0))
{
type = USE_DRMDMA_L2T;
}