]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: only enable sdvo hotplug irq if needed
authorJani Nikula <jani.nikula@intel.com>
Wed, 29 Aug 2012 11:08:42 +0000 (14:08 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 3 Sep 2012 07:43:36 +0000 (09:43 +0200)
commitdc9430252227c19f31f067028c6f1c491de3b583
tree78d9788d5c25678372baec7f4264c438182e67dc
parente65760b94e2a4643a0cc061de20754598bafb4e0
drm/i915: only enable sdvo hotplug irq if needed

Avoid constant wakeups caused by noisy irq lines when we don't even care
about the irq. This should be particularly useful for i945g/gm where the
hotplug has been disabled:

commit 169991292618d1c983e31539dfe204d30f6e6845
Author: Daniel Vetter <daniel.vetter@ffwll.ch>
Date:   Fri May 4 11:29:56 2012 +0200

    drm/i915: disable sdvo hotplug on i945g/gm

v2: While at it, remove the bogus hotplug_active read, and do not mask
hotplug_active[0] before checking whether the irq is needed, per discussion
with Daniel on IRC.

Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=38442
Tested-by: Dominik Köppl <dominik@devwork.org>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Cc: stable@vger.kernel.org
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_sdvo.c