mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-02 01:28:07 +02:00
nouveau/winsys: Stop asserting that imported BOs are aligned
This may not be true if it comes from the nouveau GL driver. Reviewed-by: Mel Henning <mhenning@darkrefraction.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33990>
This commit is contained in:
parent
4ad5b8f5bb
commit
a18c176093
1 changed files with 0 additions and 6 deletions
|
|
@ -206,12 +206,6 @@ nouveau_ws_bo_from_dma_buf_locked(struct nouveau_ws_device *dev, int fd)
|
|||
bo->flags = flags;
|
||||
bo->refcnt = 1;
|
||||
|
||||
uint64_t align = (1ULL << 12);
|
||||
if (info.domain & NOUVEAU_GEM_DOMAIN_VRAM)
|
||||
align = (1ULL << 16);
|
||||
|
||||
assert(bo->size == align64(bo->size, align));
|
||||
|
||||
_mesa_hash_table_insert(dev->bos, (void *)(uintptr_t)handle, bo);
|
||||
|
||||
return bo;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue