mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2026-05-05 05:28:03 +02:00
Pass correct offset to xgi_find_pcie_virt.
The wrong offset was being passed to xgi_find_pcie_virt. This would cause an oops in addFlush2D.
This commit is contained in:
parent
8e64d2ae86
commit
75a68635a8
1 changed files with 1 additions and 1 deletions
|
|
@ -47,7 +47,7 @@ int xgi_cmdlist_initialize(struct xgi_info * info, size_t size)
|
|||
return err;
|
||||
}
|
||||
|
||||
info->cmdring.ptr = xgi_find_pcie_virt(info, mem_alloc.offset);
|
||||
info->cmdring.ptr = xgi_find_pcie_virt(info, mem_alloc.hw_offset);
|
||||
info->cmdring.size = mem_alloc.size;
|
||||
info->cmdring.ring_hw_base = mem_alloc.hw_addr;
|
||||
info->cmdring.ring_gart_base = mem_alloc.offset;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue