From db5a2d4c2d0756a1c40c4c6c6d1f858cf4676455 Mon Sep 17 00:00:00 2001 From: Jason Tang Date: Wed, 12 Aug 2020 16:16:16 -0400 Subject: [PATCH] SWDEV-239502 - Fix image test regression Change-Id: Iea35fb0f1964d09a35131b4a20ac8f6f82850a8e --- rocclr/device/rocm/rocsettings.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rocclr/device/rocm/rocsettings.cpp b/rocclr/device/rocm/rocsettings.cpp index d123dec363..3568c0441e 100644 --- a/rocclr/device/rocm/rocsettings.cpp +++ b/rocclr/device/rocm/rocsettings.cpp @@ -148,7 +148,7 @@ bool Settings::create(bool fullProfile, int gfxipMajor, int gfxipMinor, bool coo if (gfxipMajor >= 10) { enableWave32Mode_ = true; enableWgpMode_ = GPU_ENABLE_WGP_MODE; - if (gfxipMinor >= 10) { + if (gfxipMinor >= 1) { // GFX10.1 HW doesn't support custom pitch. Enable double copy workaround // TODO: This should be updated when ROCr support custom pitch imageBufferWar_ = GPU_IMAGE_BUFFER_WAR;