mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 15:20:10 +01:00
freedreno/computerator: disable disk cache
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:
parent
cf30742a66
commit
30703e1d7d
2 changed files with 6 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue