mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2025-12-28 12:10:13 +01:00
radeon: PCIGART memory is Can't map aperture as well there is one
on the CPU.... with this my indirect buffers at least start to live.. (cherry picked from commit 699cd9fc6c3794856f7e602088c77d0dfc11a122)
This commit is contained in:
parent
03ce98aa28
commit
abf35cbdcf
1 changed files with 1 additions and 1 deletions
|
|
@ -104,7 +104,7 @@ int radeon_init_mem_type(drm_device_t * dev, uint32_t type,
|
|||
man->io_offset = dev_priv->gart_vm_start;
|
||||
man->io_size = dev_priv->gart_size;
|
||||
man->io_addr = NULL;
|
||||
man->flags = _DRM_FLAG_MEMTYPE_CSELECT | _DRM_FLAG_MEMTYPE_MAPPABLE;
|
||||
man->flags = _DRM_FLAG_MEMTYPE_CSELECT | _DRM_FLAG_MEMTYPE_MAPPABLE | _DRM_FLAG_MEMTYPE_CMA;
|
||||
man->drm_bus_maptype = _DRM_SCATTER_GATHER;
|
||||
}
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue