-
- Downloads
drm/i915/ttm: Calculate the object placement at get_pages time
Instead of relying on a static placement, calculate at get_pages() time. This should work for LMEM regions and system for now. For stolen we need to take preallocated range into account. That will if needed be added later. Signed-off-by:Thomas Hellström <thomas.hellstrom@linux.intel.com> Reviewed-by:
Matthew Auld <matthew.auld@intel.com> Signed-off-by:
Matthew Auld <matthew.auld@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20210616152501.394518-3-matthew.auld@intel.com
Showing
- drivers/gpu/drm/i915/gem/i915_gem_ttm.c 69 additions, 24 deletionsdrivers/gpu/drm/i915/gem/i915_gem_ttm.c
- drivers/gpu/drm/i915/intel_region_ttm.c 6 additions, 2 deletionsdrivers/gpu/drm/i915/intel_region_ttm.c
- drivers/gpu/drm/i915/intel_region_ttm.h 2 additions, 0 deletionsdrivers/gpu/drm/i915/intel_region_ttm.h
Loading
Please register or sign in to comment