mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 19:58:09 +02:00
panvk: Drop the NO_MMAP flag when PANVK_DEBUG=trace
We have buffers that are not supposed to be CPU-mapped but are useful to check when tracing is enabled. Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com> Reviewed-by: Rebecca Mckeever <rebecca.mckeever@collabora.com> Reviewed-by: Mary Guillemard <mary.guillemard@collabora.com> Reviewed-by: Lars-Ivar Hesselberg Simonsen <lars-ivar.simonsen@arm.com> Reviewed-by: John Anthony <john.anthony@arm.com> Acked-by: Erik Faye-Lund <erik.faye-lund@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30969>
This commit is contained in:
parent
bae5235405
commit
343bff7903
1 changed files with 1 additions and 1 deletions
|
|
@ -93,7 +93,7 @@ panvk_device_adjust_bo_flags(const struct panvk_device *device,
|
|||
struct panvk_instance *instance =
|
||||
to_panvk_instance(device->vk.physical->instance);
|
||||
|
||||
if (instance->debug_flags & PANVK_DEBUG_DUMP)
|
||||
if (instance->debug_flags & (PANVK_DEBUG_DUMP | PANVK_DEBUG_TRACE))
|
||||
bo_flags &= ~PAN_KMOD_BO_FLAG_NO_MMAP;
|
||||
|
||||
return bo_flags;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue