]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Do not unmask PSR interruption in IRQ postinstall
authorJosé Roberto de Souza <jose.souza@intel.com>
Tue, 20 Aug 2019 22:33:25 +0000 (15:33 -0700)
committerJosé Roberto de Souza <jose.souza@intel.com>
Thu, 22 Aug 2019 20:09:24 +0000 (13:09 -0700)
commitdf7415bfc06f8ee482a510aea39c12121e409dcc
tree7d7961909c580cd81ef0df13cedce71b14704bf5
parent99fc38b12095cd0ca9fc5b8c8e27e827dff6ed34
drm/i915: Do not unmask PSR interruption in IRQ postinstall

No need to unmask PSR interrutpion if PSR is not enabled, better move
the call to intel_psr_enable_source().

v2: Renamed intel_psr_irq_control() to psr_irq_control() (Lucas)

Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Cc: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190820223325.27490-3-jose.souza@intel.com
drivers/gpu/drm/i915/display/intel_psr.c
drivers/gpu/drm/i915/display/intel_psr.h
drivers/gpu/drm/i915/i915_irq.c