rusticl: allocate printf buffer as staging

Signed-off-by: Karol Herbst <kherbst@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20161>
This commit is contained in:
Karol Herbst 2022-11-16 18:13:12 +01:00 committed by Marge Bot
parent 3abbeed74f
commit 186a22712f

View file

@ -1024,7 +1024,7 @@ impl Kernel {
let buf = Arc::new(
q.device
.screen
.resource_create_buffer(printf_size, ResourceType::Normal)
.resource_create_buffer(printf_size, ResourceType::Staging)
.unwrap(),
);