diff options
author | Jason Ekstrand <jason@jlekstrand.net> | 2021-04-21 13:14:28 -0500 |
---|---|---|
committer | Jason Ekstrand <jason@jlekstrand.net> | 2021-07-08 12:45:33 -0500 |
commit | ff89500e6e93aa2f41a9e9ef01ee70c8bf133cca (patch) | |
tree | d179e03b9de97b3b9266cb5840b566ba5c05c7b3 /lib/intel_batchbuffer.h | |
parent | 3eae7848c89161d1cc66c88c90bc558e56df691b (diff) |
lib/intel_bb: Remove intel_bb_assign_vm and tests (v2)
It's not used by anything other than the tests for that functionality
and it relies on setting the VM via SET_CONTEXT_PARAM which is
deprecated. Delete it for now. We can add it back in later if it's
actually useful and do it properly then.
v2 (Zbigniew Kempczyński):
- Also remove intel_bb_detach_intel_buf()
Signed-off-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Zbigniew Kempczyński <zbigniew.kempczynski@intel.com>
Acked-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Diffstat (limited to 'lib/intel_batchbuffer.h')
-rw-r--r-- | lib/intel_batchbuffer.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/intel_batchbuffer.h b/lib/intel_batchbuffer.h index 6f148713..bd417e99 100644 --- a/lib/intel_batchbuffer.h +++ b/lib/intel_batchbuffer.h @@ -523,9 +523,6 @@ static inline void intel_bb_unref(struct intel_bb *ibb) void intel_bb_reset(struct intel_bb *ibb, bool purge_objects_cache); int intel_bb_sync(struct intel_bb *ibb); -uint64_t intel_bb_assign_vm(struct intel_bb *ibb, uint64_t allocator, - uint32_t vm_id); - void intel_bb_print(struct intel_bb *ibb); void intel_bb_dump(struct intel_bb *ibb, const char *filename); void intel_bb_set_debug(struct intel_bb *ibb, bool debug); @@ -588,7 +585,6 @@ intel_bb_add_intel_buf(struct intel_bb *ibb, struct intel_buf *buf, bool write); struct drm_i915_gem_exec_object2 * intel_bb_add_intel_buf_with_alignment(struct intel_bb *ibb, struct intel_buf *buf, uint64_t alignment, bool write); -void intel_bb_detach_intel_buf(struct intel_bb *ibb, struct intel_buf *buf); bool intel_bb_remove_intel_buf(struct intel_bb *ibb, struct intel_buf *buf); void intel_bb_print_intel_bufs(struct intel_bb *ibb); struct drm_i915_gem_exec_object2 * |