SWDEV-253063 - Code changes to make Image Buffer Workaround only for targets gfx 10.1

Change-Id: I17044a1c0775f427b9ba712eb3fd5ab21ed88b0e


[ROCm/clr commit: 18352d189b]
This commit is contained in:
kjayapra-amd
2020-09-18 19:54:21 -04:00
committato da Karthik Jayaprakash
parent 36996d5b71
commit 267f3797f5
+1 -1
Vedi File
@@ -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 >= 1) {
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;