Merge "msm: kgsl: Disable VPC all flat shading optimization for A5XX"

This commit is contained in:
Linux Build Service Account 2017-08-07 04:11:10 -07:00 committed by Gerrit - the friendly Code Review server
commit 865caab613

View file

@ -2073,6 +2073,9 @@ static void a5xx_start(struct adreno_device *adreno_dev)
}
/* Disable All flat shading optimization */
kgsl_regrmw(device, A5XX_VPC_DBG_ECO_CNTL, 0, 0x1 << 10);
/*
* VPC corner case with local memory load kill leads to corrupt
* internal state. Normal Disable does not work for all a5x chips.