2
0

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

Change-Id: I17044a1c0775f427b9ba712eb3fd5ab21ed88b0e
Este cometimento está contido em:
kjayapra-amd
2020-09-18 19:54:21 -04:00
cometido por Karthik Jayaprakash
ascendente 2f98dbedca
cometimento 18352d189b
Ficheiro normal → Ficheiro executável
+1 -1
Ver ficheiro
@@ -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;