]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gt: Always call kref_init for the timeline
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 25 Jun 2019 23:33:49 +0000 (00:33 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 26 Jun 2019 06:25:54 +0000 (07:25 +0100)
commitdd6db6593ac3a1797d89667411d21c685ce88d85
tree3e11e86dfdaddab7e7923a5e8cfa77d54dbc0405
parent666d5ed9c76ecc495d31d1128a4f0046ca29c61a
drm/i915/gt: Always call kref_init for the timeline

Always initialise the refcount, even for the embedded timelines inside
mock devices.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190625233349.32371-2-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/intel_timeline.c