]> git.proxmox.com Git - mirror_ubuntu-disco-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)
commitff9282613f6796db3fe85dc6cbb995223078f581
treefa3366a99818b6393a8b6f71a1c9457fdcb981ee
parent6a4ea1248cc10354f36b7917eb412d01e979d5ad
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