]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Reduce warning for i915_vma_pin_iomap() without runtime-pm
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 8 Jan 2020 15:35:50 +0000 (15:35 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 9 Jan 2020 08:53:28 +0000 (08:53 +0000)
commit9de233b7a8e49afe0bb7e128dddb96e2a4cd2a51
treea4b9b78f8f8ffd155a6cfac382f805794a292d98
parentb67a0834e238f1dc6f890ba7a5fd8bd1841b1e6f
drm/i915: Reduce warning for i915_vma_pin_iomap() without runtime-pm

Access through the GGTT (iomap) into the vma does require the device to
be awake. However, we often take the i915_vma_pin_iomap() as an early
preparatory step that is long before we use the iomap. Asserting that
the device is awake at pin time does not protect us, and is merely a
nuisance.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200108153550.3803446-2-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_vma.c