summaryrefslogtreecommitdiff
path: root/drivers/pci/pcie/Kconfig
diff options
context:
space:
mode:
authorImre Deak <imre.deak@intel.com>2014-11-12 17:40:35 +0300
committerJani Nikula <jani.nikula@intel.com>2014-12-18 16:46:47 +0300
commit5d77d9c5e177d2182df5d9fd61ba986facb64415 (patch)
tree41c6602a2650c5bbdc60edd71998eadacd739e74 /drivers/pci/pcie/Kconfig
parent01f5a6261cea395f72877aeb7c2fe2d42e1b1e00 (diff)
downloadlinux-5d77d9c5e177d2182df5d9fd61ba986facb64415.tar.xz
drm/i915: add missing rpm ref to i915_gem_pwrite_ioctl
Without this RPM ref we can hit the device suspended WARN via: i915_gem_object_pin()->ggtt_bind_vma->gen6_ggtt_insert_entries(). I noticed this on my BYT while keeping the i915 device in runtime suspended state for a while. I chose this place to take the ref to avoid the possible deadlock via the mutex_lock taken both later in this function and in the runtime suspend handler. This can happen if an RPM suspend event is queued and need to be flushed before taking the RPM ref. Testcase: igt/pm_rpm/gem-evict-pwrite Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=87363 Signed-off-by: Imre Deak <imre.deak@intel.com> Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Diffstat (limited to 'drivers/pci/pcie/Kconfig')
0 files changed, 0 insertions, 0 deletions