diff options
author | Jesse Barnes <[email protected]> | 2015-04-01 14:22:57 -0700 |
---|---|---|
committer | Jani Nikula <[email protected]> | 2015-04-07 15:36:30 +0300 |
commit | 9c25210fd30991e68f93e2ec0857de2d967b5766 (patch) | |
tree | 6abdb46062486a9009fc2226abb0f778011dc22e /lib/test-string_helpers.c | |
parent | f22e6e847115abc3a0e2ad7bb18d243d42275af1 (diff) |
drm/i915/vlv: save/restore the power context base reg
Some BIOSes (e.g. the one on the Minnowboard) don't save/restore this
reg. If it's unlocked, we can just restore the previous value, and if
it's locked (in case the BIOS re-programmed it for us) the write will be
ignored and we'll still have "did it move" sanity check in the PM code to
warn us if something is still amiss.
References: https://bugs.freedesktop.org/show_bug.cgi?id=89611
Signed-off-by: Jesse Barnes <[email protected]>
Tested-by: Darren Hart <[email protected]>
Cc: [email protected]
Reviewed-by: Imre Deak <[email protected]>
Reviewed-by: Deepak S <[email protected]>
Signed-off-by: Jani Nikula <[email protected]>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions