mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 18:28:12 +02:00
iris: Convert slab address to canonical
This was the only missing case of bo->address that could possibly not formated as canonical. Signed-off-by: José Roberto de Souza <jose.souza@intel.com> Reviewed-by: Sagar Ghuge <sagar.ghuge@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23994>
This commit is contained in:
parent
0e7e6f2a0d
commit
5cc9569b5b
2 changed files with 2 additions and 2 deletions
|
|
@ -828,7 +828,7 @@ iris_slab_alloc(void *priv,
|
|||
bo->bufmgr = bufmgr;
|
||||
bo->hash = _mesa_hash_pointer(bo);
|
||||
bo->gem_handle = 0;
|
||||
bo->address = slab->bo->address + i * entry_size;
|
||||
bo->address = intel_canonical_address(slab->bo->address + i * entry_size);
|
||||
bo->aux_map_address = 0;
|
||||
bo->index = -1;
|
||||
bo->refcount = 0;
|
||||
|
|
|
|||
|
|
@ -190,7 +190,7 @@ struct iris_bo {
|
|||
uint32_t gem_handle;
|
||||
|
||||
/**
|
||||
* Virtual address of the buffer inside the PPGTT (Per-Process Graphics
|
||||
* Canonical virtual address of the buffer inside the PPGTT (Per-Process Graphics
|
||||
* Translation Table).
|
||||
*
|
||||
* Although each hardware context has its own VMA, we assign BO's to the
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue