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
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 +-