Patchwork [Oneiric,SRU] UBUNTU: SAUCE: drm/i915: add multi-threaded forcewake support

mail settings
Submitter Manoj Iyer
Date Nov. 21, 2011, 7:39 p.m.
Message ID <>
Download mbox
Permalink /patch/126910/
State New
Headers show


git:// lp891270v2


Manoj Iyer - Nov. 21, 2011, 7:39 p.m.
Please consider this Sauce patch for Oneiric.


Ivybridge system fails to resume from S3/S4 with recent BIOS. On system resume causes kernel oops in i915 driver.

Upstream fixed the issue by adding multi-threaded forcewake support.
On IVB C0+ with newer BIOSes, the forcewake handshake has changed. There's
now a bitfield for different driver components to keep the GT powered
on. On Linux, we centralize forcewake handling in one place, so we
still just need a single bit, but we need to use the new registers if MT
forcewake is enabled.

This patch was tested on Ivybridge system with the kernel posted at and the test results are noted in comment #3 in this bug, and also reported the same to

The following changes since commit b81353472fcf931e4e0812b5cb42674d029d5ffc:

  drm/i915: add multi-threaded forcewake support (2011-11-21 13:32:38 -0600)

are available in the git repository at:
  git:// lp891270v2

Keith Packard (1):
  drm/i915: add multi-threaded forcewake support

 drivers/gpu/drm/i915/i915_drv.c      |   30 ++++++++++++++++++++++++++----
 drivers/gpu/drm/i915/i915_drv.h      |    8 ++++++++
 drivers/gpu/drm/i915/i915_reg.h      |    4 ++++
 drivers/gpu/drm/i915/intel_display.c |   22 ++++++++++++++++++++++
 4 files changed, 60 insertions(+), 4 deletions(-)