Quoting Zbigniew Kempczyński (2021-03-01 16:13:43)
We want to use relocations as long as we can so change intel-bb
strategy to use it as default up to gen12. For gen12 we have
to use softpinning in ccs aux tables so there we enforce using
allocator instead of relocations.
The use something like
static bool aux_needs_softpin(int i915)
{
return intel_gen(intel_get_drm_devid(i915)) >= 12;
}
gem_has_relocs(i915) && !aux_needs_softpin(i915)
so that the reason for the gen check is described at the point of use.
-Chris
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev