]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: vlv: fix save/restore of GFX_MAX_REQ_COUNT reg
authorImre Deak <imre.deak@intel.com>
Wed, 15 Apr 2015 23:52:30 +0000 (16:52 -0700)
committerJani Nikula <jani.nikula@intel.com>
Thu, 23 Apr 2015 21:24:54 +0000 (00:24 +0300)
commite8de271799f02c334fad18b03eb5ff0090129338
treec9ee112e97f7adfb4b1aa176ce845a9eb85d26d3
parenta0223b6c56c12f9663fce73961e338114c64915f
drm/i915: vlv: fix save/restore of GFX_MAX_REQ_COUNT reg

Due this typo we don't save/restore the GFX_MAX_REQ_COUNT register across
suspend/resume, so fix this.

This was introduced in

commit 5e1c7d2c047f1a9dbba3912f14b577f0a11c2f46
Author: Imre Deak <imre.deak@intel.com>
Date:   Mon May 5 15:19:56 2014 +0300

    drm/i915: vlv: add runtime PM support

I noticed this only by reading the code. To my knowledge it shouldn't
cause any real problems at the moment, since the power well backing this
register remains on across a runtime s/r. This may change once
system-wide s0ix functionality is enabled in the kernel.

v2:
- resend after a missing git add -u :/

Cc: stable@vger.kernel.org
Signed-off-by: Imre Deak <imre.deak@intel.com>
Tested-By: PRC QA PRTS (Patch Regression Test System Contact: shuang.he@intel.com)
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Reviewed-by: Mika Kuoppala <mika.kuoppala@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/i915_drv.c