mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2025-12-25 03:40:10 +01:00
intel: Also total child_size of the target_bos. Partial fix #17964.
This commit is contained in:
parent
8256c347cc
commit
b7d54b1dba
1 changed files with 3 additions and 2 deletions
|
|
@ -1193,9 +1193,10 @@ dri_fake_emit_reloc(dri_bo *reloc_buf,
|
|||
|
||||
dri_fake_bo_reference_locked(target_buf);
|
||||
|
||||
if (!target_fake->is_static)
|
||||
if (!target_fake->is_static) {
|
||||
reloc_fake->child_size += ALIGN(target_buf->size, target_fake->alignment);
|
||||
|
||||
reloc_fake->child_size += target_fake->child_size;
|
||||
}
|
||||
r->target_buf = target_buf;
|
||||
r->offset = offset;
|
||||
r->last_target_offset = target_buf->offset;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue