Commit 01651523 authored by Icecream95's avatar Icecream95
Browse files

panfrost: Unset shared/scanout binding flags for staging resources

Fixes Xwayland crashes.

Fixes: e00d94f1

 ("panfrost: Enable AFBC buffer sharing")
Reviewed-by: Alyssa Rosenzweig's avatarAlyssa Rosenzweig <>
parent 32d59214
......@@ -732,6 +732,7 @@ pan_alloc_staging(struct panfrost_context *ctx, struct panfrost_resource *rsc,
tmpl.last_level = 0;
tmpl.bind |= PIPE_BIND_LINEAR;
struct pipe_resource *pstaging =
pctx->screen->resource_create(pctx->screen, &tmpl);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment