commit | 1dfd9754cd55e424f247d9a2e855ad384e3e90ef | [log] [tgz] |
---|---|---|
author | Chris Wilson <chris@chris-wilson.co.uk> | Mon Sep 06 14:44:14 2010 +0100 |
committer | Chris Wilson <chris@chris-wilson.co.uk> | Mon Sep 06 23:09:49 2010 +0100 |
tree | cadde12a7cfc5ce67767af4d6405726666a50241 | |
parent | e167976ee7f5fe4b80f7e8f55e087f6c67cf9562 [diff] |
Revert "drm/i915: Unreference object not handle on creation" This reverts commit 86f100b136626e91f4f66f3776303475e2e58998. The kref API requires the handlecount to be initialised to one on object creation (so that kref_get() doesn't complain upon first use) so the dalliance in the drivers is required in order to sink the initial floating reference. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Cc: stable@kernel.org