]> 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)
commit0a8bedcd07a1d871154fc59eb4f8d3ea036ad223
treefa3366a99818b6393a8b6f71a1c9457fdcb981ee
parentcc4a08b92a75278f8bcdf40edad64a3dbf1c73dd
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