--- a/src/sna/kgem.c +++ b/src/sna/kgem.c @@ -5580,7 +5580,9 @@ large_inactive: continue; } - if (flags & UNCACHED && !kgem->has_llc && bo->domain != DOMAIN_CPU) + /* gottwald@igel.com flags & UNCACHED seems to be nonsense because never true (UNCACHED = 0!) + * so change this to the more likely CREATE_UNCACHED */ + if (flags & CREATE_UNCACHED && !kgem->has_llc && bo->domain != DOMAIN_CPU) continue; if (bo->tiling != tiling || @@ -5607,6 +5609,8 @@ large_inactive: assert(bo->pitch >= pitch); bo->delta = 0; bo->unique_id = kgem_get_unique_id(kgem); + /* gottwald@igel.com this fixes somehow the glyph rendering issues (missing characters and so on) */ + bo->domain = DOMAIN_NONE; kgem_bo_remove_from_inactive(kgem, bo); assert(list_is_empty(&bo->list));