intel: Remove the unrelaxed relocation assertion
Now that we purposefully generate delta that point outside of the target buffer, the assertion has outlived its usefulness. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
@@ -176,8 +176,6 @@ intel_batchbuffer_emit_reloc(struct intel_context *intel,
|
||||
{
|
||||
int ret;
|
||||
|
||||
assert(delta < buffer->size);
|
||||
|
||||
ret = drm_intel_bo_emit_reloc(intel->batch.bo, 4*intel->batch.used,
|
||||
buffer, delta,
|
||||
read_domains, write_domain);
|
||||
@@ -203,8 +201,6 @@ intel_batchbuffer_emit_reloc_fenced(struct intel_context *intel,
|
||||
{
|
||||
int ret;
|
||||
|
||||
assert(delta < buffer->size);
|
||||
|
||||
ret = drm_intel_bo_emit_reloc_fence(intel->batch.bo, 4*intel->batch.used,
|
||||
buffer, delta,
|
||||
read_domains, write_domain);
|
||||
|
||||
Reference in New Issue
Block a user