]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gtt: grab wakeref in gen6_alloc_va_range
authorMatthew Auld <matthew.auld@intel.com>
Wed, 29 May 2019 12:31:07 +0000 (13:31 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 30 May 2019 11:00:41 +0000 (12:00 +0100)
commit39d56b83a892fb149f44656a0fe079d1cbcca18a
tree5ca05ece710ee74f10fdd0d2641b1f81d3abe599
parent8e954fcf04791cf22c848411822dd0745b8e169e
drm/i915/gtt: grab wakeref in gen6_alloc_va_range

Some steps in gen6_alloc_va_range require the HW to be awake, so ideally
we should be grabbing the wakeref ourselves and not relying on the
caller already holding it for us.

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