Skip to content

iris: Do not apply SCANOUT allocation flags for SHARED-only requests

Vadym Shovkoplias requested to merge GL/mesa:fix-scanout-allocation-5642 into main

It provides similar solution as in 1.

This was workaround for the users of gbm_bo_create_with_modifiers(), which were unable to specify the buffer usage (GPU / GPU+DISPLAY).

But after the commit 2 this become possible. And forcing usage to GBM_BO_USE_SCANOUT migrated directly into gbm_bo_create_with_modifiers 3, allowing us to remove such workarounds from the drivers.

Suggested-by: Roman Stratiienko roman.o.stratiienko@globallogic.com Signed-off-by: Vadym Shovkoplias vadym.shovkoplias@globallogic.com Fixes: 64405230 ("iris: Map scanout buffers WC instead of WB") Closes: #5642 (closed)

Edited by Vadym Shovkoplias

Merge request reports