#define ETNA_DBG_NO_SINGLEBUF 0x1000000 /* disable single buffer feature */
#define ETNA_DBG_DEQP 0x2000000 /* Hacks to run dEQP GLES3 tests */
#define ETNA_DBG_NOCACHE 0x4000000 /* Disable shader cache */
+#define ETNA_DBG_NO_LINEAR_PE 0x8000000 /* Disable linear PE */
extern int etna_mesa_debug; /* set in etnaviv_screen.c from ETNA_MESA_DEBUG */
{"no_singlebuffer",ETNA_DBG_NO_SINGLEBUF, "Disable single buffer feature"},
{"deqp", ETNA_DBG_DEQP, "Hacks to run dEQP GLES3 tests"}, /* needs MESA_GLES_VERSION_OVERRIDE=3.0 */
{"nocache", ETNA_DBG_NOCACHE, "Disable shader cache"},
+ {"no_linear_pe", ETNA_DBG_NO_LINEAR_PE, "Disable linear PE"},
DEBUG_NAMED_VALUE_END
};
screen->specs.can_supertile = 0;
if (DBG_ENABLED(ETNA_DBG_NO_SINGLEBUF))
screen->specs.single_buffer = 0;
+ if (DBG_ENABLED(ETNA_DBG_NO_LINEAR_PE))
+ screen->features[viv_chipMinorFeatures2] &= ~chipMinorFeatures2_LINEAR_PE;
pscreen->destroy = etna_screen_destroy;
pscreen->get_param = etna_screen_get_param;