Re: [PATCH v2 28/37] drm/i915: Allow i915 to manage the vma offset nodes instead of drm core

Chris Wilson
2019-06-28T00:05:42Z

Quoting Matthew Auld (2019-06-27 21:56:24)
> +static void i915_gem_vm_open(struct vm_area_struct *vma)
> +{
> + struct i915_mmap_offset *priv = vma->vm_private_data;
> + struct drm_i915_gem_object *obj = priv->obj;
> +
> + drm_gem_object_get(&obj->base);

Pleae use the right getters, i915_gem_object_get and
i915_gem_object_put.
-Chris