[Intel-gfx] [PATCH] drm/i915: Unreference object, not handle
Jonas Bonn
jonas at southpole.se
Thu May 28 16:02:27 CEST 2009
>
> Getting out of i915_gem_create_ioctl, there should be one reference to
> the handle, and one reference to the object due to that handle, right?
> From my reading:
>
> drm_gem_object_alloc() returns with
> obj_refcount = 1 (kref_init)
> handle_refcount = 1 (kref_init)
Yes, this is right... I missed the fact that object_alloc creates a handle
reference right off.
Sorry for the noise.
/Jonas
More information about the Intel-gfx
mailing list