]> git.proxmox.com Git - mirror_ubuntu-focal-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)
commitf0ca820cc0067ce4debd9893650e5c188c83b941
tree3e11e86dfdaddab7e7923a5e8cfa77d54dbc0405
parentb38565faded7da1f84b2b9a9a6d41ea1ebc48936
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