freedreno/computerator: disable disk cache
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run

Fixes a crash during startup because `build_id_find_nhdr_for_addr`
returns null. Besides that, using the compiler cache is meaningless for
computerator.

Signed-off-by: Job Noorman <jnoorman@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37572>
This commit is contained in:
Job Noorman 2025-09-25 17:37:16 +02:00 committed by Marge Bot
parent cf30742a66
commit 30703e1d7d
2 changed files with 6 additions and 2 deletions

View file

@ -345,7 +345,9 @@ a4xx_init(struct fd_device *dev, const struct fd_dev_id *dev_id)
.emit_grid = a4xx_emit_grid,
};
struct ir3_compiler_options compiler_options = {};
struct ir3_compiler_options compiler_options = {
.disable_cache = true,
};
a4xx_backend->compiler =
ir3_compiler_create(dev, dev_id, fd_dev_info_raw(dev_id), &compiler_options);
a4xx_backend->dev = dev;

View file

@ -701,7 +701,9 @@ a6xx_init(struct fd_device *dev, const struct fd_dev_id *dev_id)
.read_perfcntrs = a6xx_read_perfcntrs,
};
struct ir3_compiler_options compiler_options = {};
struct ir3_compiler_options compiler_options = {
.disable_cache = true,
};
a6xx_backend->compiler =
ir3_compiler_create(dev, dev_id, fd_dev_info_raw(dev_id), &compiler_options);
a6xx_backend->dev = dev;