mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2025-12-24 19:30:11 +01:00
i915: Use maptype _DRM_TTM for PRIV1.
Makes sure the userspace mappings are uncached.
This commit is contained in:
parent
3786b8c921
commit
c250b2e96d
1 changed files with 1 additions and 1 deletions
|
|
@ -152,7 +152,7 @@ int i915_init_mem_type(drm_device_t * dev, uint32_t type,
|
|||
man->io_addr -= virt_to_phys(man->io_addr);
|
||||
man->flags = _DRM_FLAG_MEMTYPE_MAPPABLE |
|
||||
_DRM_FLAG_MEMTYPE_FIXED;
|
||||
man->drm_bus_maptype = _DRM_AGP/*TTM*/;
|
||||
man->drm_bus_maptype = _DRM_TTM;
|
||||
break;
|
||||
default:
|
||||
DRM_ERROR("Unsupported memory type %u\n", (unsigned)type);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue