summaryrefslogtreecommitdiff
path: root/lib/intel_batchbuffer.c
diff options
context:
space:
mode:
authorZbigniew Kempczyński <zbigniew.kempczynski@intel.com>2021-03-15 17:05:40 +0100
committerZbigniew Kempczyński <zbigniew.kempczynski@intel.com>2021-04-13 15:44:38 +0200
commitf3886af97f9c77b74186bf4cf5f94e13065e0ead (patch)
tree16beefde65d9d77416a5442bd40e9035e8089e47 /lib/intel_batchbuffer.c
parent1e0c26584a1f23f63fbb71fededba0109d005e69 (diff)
lib/intel_allocator_reloc: Add reloc allocator
As relocations won't be accessible on discrete we need to support IGT with an allocator. So tests which have to cover all generations have to diverge the code and use conditional constructs. On the long term this can be cumbersome and confusing. So we can try to avoid such and use pseudo-reloc allocator which main task is to return incremented offsets. This way we can skip mentioned conditionals and just acquire offsets from an allocator. Signed-off-by: Zbigniew Kempczyński <zbigniew.kempczynski@intel.com> Suggested-by: Chris Wilson <chris@chris-wilson.co.uk> Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch> Acked-by: Petri Latvala <petri.latvala@intel.com>
Diffstat (limited to 'lib/intel_batchbuffer.c')
0 files changed, 0 insertions, 0 deletions