Impact: i915 video driver: screen goes white, red, green or blue during
suspend/resume or hibernation
Fix: Backport upstream commits 39273b58a409cd6d65c9732bdca00bacd1626672
and a59e122a67b88925944d3bbf33d152
These commits fix flips the ARX register into index mode before
restoring the AR registers fix an off-by one save/restore index bug for
the AR and CR registers.
Testcase: Without the attached patch, the screen occasionally goes
completely white, red, green or blue during suspend/resume and
hibernate. With patch the problem does not occur.
Hardy SRU justification:
Impact: i915 video driver: screen goes white, red, green or blue during
suspend/resume or hibernation
Fix: Backport upstream commits 39273b58a409cd6 d65c9732bdca00b acd1626672 5944d3bbf33d152
and a59e122a67b8892
These commits fix flips the ARX register into index mode before
restoring the AR registers fix an off-by one save/restore index bug for
the AR and CR registers.
Testcase: Without the attached patch, the screen occasionally goes
completely white, red, green or blue during suspend/resume and
hibernate. With patch the problem does not occur.