]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Only request PM interrupts for the events we handled
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 5 Jul 2012 14:02:17 +0000 (15:02 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 20 Jul 2012 10:21:36 +0000 (12:21 +0200)
commit8cfed25b0905a8b904bb0ec246cde75a9dd58466
treefa3366a99818b6393a8b6f71a1c9457fdcb981ee
parentbd25b27138799990e5da89861e702d5d5c7c1c8d
drm/i915: Only request PM interrupts for the events we handled

There is little point waking up every 10ms to service an interrupt which
we then promptly ignore. So only program the the PMIER to enable
interrupts for those events which we do handle, not all of them!

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Jesse Barnes <jbarnes@virtuousgeek.org>
Cc: Eugeni Dodonov <eugeni.dodonov@intel.com>
Cc: Ben Widawsky <ben@bwidawsk.net>
Reviewed-by: Ben Widawsky <ben@bwidawsk.net>
Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_pm.c