[Intel-gfx] [PATCH 2/3] drm/i915: Allowed memory region for GEM obj
Chris Wilson
chris at chris-wilson.co.uk
Thu Sep 26 07:23:18 UTC 2019
Quoting Ramalingam C (2019-09-26 06:21:34)
> diff --git a/drivers/gpu/drm/i915/gem/i915_gem_object.c b/drivers/gpu/drm/i915/gem/i915_gem_object.c
> index 0f33da5e541d..e6f8426dedff 100644
> --- a/drivers/gpu/drm/i915/gem/i915_gem_object.c
> +++ b/drivers/gpu/drm/i915/gem/i915_gem_object.c
> @@ -49,6 +49,7 @@ void i915_gem_object_free(struct drm_i915_gem_object *obj)
> }
>
> void i915_gem_object_init(struct drm_i915_gem_object *obj,
> + struct drm_i915_private *dev_priv,
to_i915(obj) is valid at this point.
Please never add dev_priv.
-Chris
More information about the Intel-gfx
mailing list