]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 6 May 2015 20:04:04 +0000 (22:04 +0200)
commit959905cf28ee80f8830b717f4e1ac28a61732974
tree5b47746527dfacab516a17dcf0ee929af48ffe7d
parent74ed38596ea50609c61bd10f048f97d6161e73b4
drm/i915: vlv: fix save/restore of GFX_MAX_REQ_COUNT reg

commit b5f1c97f944482e98e6e39208af356630389d1ea upstream.

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 ddeea5b0c36f3665446518c609be91f9336ef674
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 :/

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/i915/i915_drv.c