diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2012-05-09 21:45:44 +0100 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2012-05-10 11:55:23 +0200 |
commit | 0e43406bcc1868a316eea6012a0a09d992c53521 (patch) | |
tree | 564d42d86ff0a86c1e01717975e1c58fc6c2df69 /drivers/gpu/drm/i915/i915_suspend.c | |
parent | 9adab8b5a7fde248504f484e197589f3e3c922e2 (diff) |
drm/i915: Simplify interrupt processing for IvyBridge
We can take advantage that the PCH_IIR is a subordinate register to
reduce one of the required IIR reads, and that we only need to clear
interrupts handled to reduce the writes. And by simply tidying the code
we can reduce the line count and hopefully make it more readable.
v2: Split out the bugfix from the refactoring.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_suspend.c')
0 files changed, 0 insertions, 0 deletions