mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-02 12:18:09 +02:00
radv: fix reserving enough space for emitting the SPM setup
4096 is an arbitrary but large enough number to emit everything needed.
Fixes: 22d73fc077 ("amd,radv,radeonsi: add ac_emit_spm_setup()")
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38087>
This commit is contained in:
parent
0dcb800a07
commit
14667eef53
1 changed files with 1 additions and 1 deletions
|
|
@ -72,7 +72,7 @@ radv_emit_spm_setup(struct radv_device *device, struct radv_cmd_stream *cs)
|
|||
struct ac_spm *spm = &device->spm;
|
||||
uint64_t va = radv_buffer_get_va(spm->bo);
|
||||
|
||||
radeon_check_space(device->ws, cs->b, 2048);
|
||||
radeon_check_space(device->ws, cs->b, 4096);
|
||||
ac_emit_spm_setup(cs->b, pdev->info.gfx_level, cs->hw_ip, spm, va);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue