P4 to Git Change 1273995 by gandryey@gera-ocl on 2016/05/27 16:13:11
SWDEV-79445 - Fix a TC regression after CL#1273440
- Add the both conditions to the restrictions: sorce and destination alignment
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDevice.cpp#167 edit
[ROCm/clr commit: 23ec683890]
This commit is contained in:
@@ -1210,7 +1210,8 @@ 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))
|
||||
(srcOffset[0] % 4 == 0) &&
|
||||
(destOffset[0] % 4 == 0))
|
||||
{
|
||||
// The sDMA T2L cases we need to avoid are when the tiled_x
|
||||
// is not a multiple of BytesPerPixel.
|
||||
@@ -1231,7 +1232,8 @@ 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))
|
||||
(destOffset[0] % 4 == 0) &&
|
||||
(srcOffset[0] % 4 == 0))
|
||||
{
|
||||
// The sDMA L2T cases we need to avoid are when the tiled_x
|
||||
// is not a multiple of BytesPerPixel.
|
||||
|
||||
Reference in New Issue
Block a user