drm/i915: Turn on PIN_GLOBAL in i915_gem_object_ggtt_pin
This makes the interface consistent to old i915_gem_obj_ggtt_pin. Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
parent
dabde5c732
commit
6fafab76d5
|
@ -4292,7 +4292,7 @@ i915_gem_object_ggtt_pin(struct drm_i915_gem_object *obj,
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
|
|
||||||
return i915_gem_object_do_pin(obj, i915_obj_to_ggtt(obj), view,
|
return i915_gem_object_do_pin(obj, i915_obj_to_ggtt(obj), view,
|
||||||
alignment, flags);
|
alignment, flags | PIN_GLOBAL);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
Loading…
Reference in New Issue