]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Don't enable hpd detection logic from irq_postinstall()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 28 Oct 2020 21:33:18 +0000 (23:33 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 30 Oct 2020 12:52:44 +0000 (14:52 +0200)
commit04c6231fb735e2049a0a39243fd82c3c96bb702c
treeb941778fd7b3e162740517a604a8dc610aedb9c3
parent53b0fc304f54885fc07244f07f9738a3d9162df7
drm/i915: Don't enable hpd detection logic from irq_postinstall()

No reason that I can see why we should enable the hpd detection logic
already during irq postinstall phase. We don't even do this on all
the platforms. We just need it before we actually enable the hotplug
interrupts in .hpd_irq_setup(), and in fact we already do it there as
well. Let's just eliminate the redundant early setup.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20201028213323.5423-15-ville.syrjala@linux.intel.com
Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
drivers/gpu/drm/i915/i915_irq.c