[igt-dev] [PATCH i-g-t 0/2] Stop failing on system region on stable kernels

Zbigniew Kempczyński zbigniew.kempczynski at intel.com
Thu Dec 9 20:04:51 UTC 2021


Chris noted that we don't support properly fallback path on stable
kernels with querying regions but for example gem_exec_basic is 
using this so provide stub code which should work both for drm-tip
and stable kernels as well.

v2: migrate fallback to intel_memory_regions.c instead for implementing
    it for individual test (Petri)

Cc: Petri Latvala <petri.latvala at intel.com>
Cc: Ashutosh Dixit <ashutosh.dixit at intel.com>
Cc: Chris Wilson <chris.p.wilson at intel.com>

Zbigniew Kempczyński (2):
  lib/i915/intel_memory_region: Provide system memory region stub
  lib/i915/intel_memory_region: Add fallback for creating gem bo

 lib/i915/intel_memory_region.c | 29 ++++++++++++++++++++++++++---
 1 file changed, 26 insertions(+), 3 deletions(-)

-- 
2.26.0



More information about the igt-dev mailing list