diff options
author | Imre Deak | 2014-02-11 20:39:06 +0100 |
---|---|---|
committer | Jani Nikula | 2014-03-03 18:06:40 +0100 |
commit | 17b0c1f7865d8bf4f5e5aa94e2aeafb35d23e4e9 (patch) | |
tree | afbcfbc38f5b062a19826530d2984760e0355dc6 /drivers/gpu/drm/i915/intel_sdvo_regs.h | |
parent | drm/i915: fix pch pci device enumeration (diff) | |
download | kernel-qcow2-linux-17b0c1f7865d8bf4f5e5aa94e2aeafb35d23e4e9.tar.gz kernel-qcow2-linux-17b0c1f7865d8bf4f5e5aa94e2aeafb35d23e4e9.tar.xz kernel-qcow2-linux-17b0c1f7865d8bf4f5e5aa94e2aeafb35d23e4e9.zip |
drm/i915: vlv: reserve GT power context early
We reserve the space for the power context in stolen memory at a fixed
address from a delayed work. This races with the subsequent driver
init/resume code which could allocate something at that address, so the
reservation for the power context fails. Reserve the space up-front, so
this can't happen. This also adds a missing struct_mutex lock around the
stolen allocation, which wasn't taken in the delayed work path.
Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Cc: stable@vger.kernel.org
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_sdvo_regs.h')
0 files changed, 0 insertions, 0 deletions