[Mesa-dev] [PATCH 2/2] i965: Always mark scanout images as not cache-coherent

Chris Wilson chris at chris-wilson.co.uk
Thu Aug 3 15:01:25 UTC 2017

Quoting Jason Ekstrand (2017-08-03 15:04:42)
> We already do this as a side-effect of intel_miptree_create_for_dri_image.  

Hmm, really? It certainly isn't being applied as glamor is using the bo->map_cpu
for linear_to_tiled() uploads. Which is bad.

Currently only external bo are marked as incoherent, and those are only
buffers either imported or exported via dmabuf/flink.
intel_miptree_create_for_dri_image/intel_miptree_create_for_bo does not
affect the state of the bo.

> Also, in the new world of modifiers, the usage flags don't get set.

/me so old world, almost coal.

More information about the mesa-dev mailing list