|
@@ -1845,7 +1845,7 @@ int intel_lr_context_deferred_create(struct intel_context *ctx,
|
|
|
|
|
|
context_size = round_up(get_lr_context_size(ring), 4096);
|
|
context_size = round_up(get_lr_context_size(ring), 4096);
|
|
|
|
|
|
- ctx_obj = i915_gem_alloc_context_obj(dev, context_size);
|
|
|
|
|
|
+ ctx_obj = i915_gem_alloc_object(dev, context_size);
|
|
if (IS_ERR(ctx_obj)) {
|
|
if (IS_ERR(ctx_obj)) {
|
|
ret = PTR_ERR(ctx_obj);
|
|
ret = PTR_ERR(ctx_obj);
|
|
DRM_DEBUG_DRIVER("Alloc LRC backing obj failed: %d\n", ret);
|
|
DRM_DEBUG_DRIVER("Alloc LRC backing obj failed: %d\n", ret);
|