[Intel-gfx] [PATCH 2/2] Revert "drm/i915/lmem: Limit block size to 4G"

2020-12-02 Thread Chris Wilson
Mixing I915_ALLOC_CONTIGUOUS and I915_ALLOC_MAX_SEGMENT_SIZE fared badly. The two directives conflict, with the contiguous request setting the min_order to the full size of the object, and the max-segment-size setting the max_order to the limit of the DMA mapper, resulting in a situation where

[Intel-gfx] [PATCH 2/2] Revert "drm/i915/lmem: Limit block size to 4G"

2020-12-01 Thread Chris Wilson
Although we want to keep elements of the test case, and a proper explanation why the patch failed to dtrt should go here. --- drivers/gpu/drm/i915/gem/i915_gem_region.c| 2 +- drivers/gpu/drm/i915/intel_memory_region.c| 18 +-- drivers/gpu/drm/i915/intel_memory_region.h| 5 +-