mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-29 23:10:11 +01:00
panfrost: Don't allocate SHARED as scanout
This is useless and might cause problems. Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com> Extremely-acked-by: Daniel Stone <daniels@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16334>
This commit is contained in:
parent
f625c5a8a0
commit
d6112acf18
1 changed files with 1 additions and 2 deletions
|
|
@ -637,8 +637,7 @@ panfrost_resource_create_with_modifier(struct pipe_screen *screen,
|
|||
(bind & PIPE_BIND_SHADER_IMAGE) ? "Shader image" :
|
||||
"Other resource";
|
||||
|
||||
if (dev->ro && (template->bind &
|
||||
(PIPE_BIND_DISPLAY_TARGET | PIPE_BIND_SCANOUT | PIPE_BIND_SHARED))) {
|
||||
if (dev->ro && (template->bind & PIPE_BIND_SCANOUT)) {
|
||||
struct winsys_handle handle;
|
||||
struct pan_block_size blocksize = panfrost_block_size(modifier, template->format);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue