mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-18 23:48:22 +02:00
asahi: skip unmapped bo in fault dbg
segfault Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30981>
This commit is contained in:
parent
1e2dcae4da
commit
93785ae2fb
1 changed files with 3 additions and 0 deletions
|
|
@ -668,6 +668,9 @@ agx_debug_fault(struct agx_device *dev, uint64_t addr)
|
|||
|
||||
for (uint32_t handle = 0; handle < dev->max_handle; handle++) {
|
||||
struct agx_bo *bo = agx_lookup_bo(dev, handle);
|
||||
if (!bo->va)
|
||||
continue;
|
||||
|
||||
uint64_t bo_addr = bo->va->addr;
|
||||
if (bo->flags & AGX_BO_LOW_VA)
|
||||
bo_addr += dev->shader_base;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue