]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/irq: Refactor gen11 display interrupt handling
authorMatt Roper <matthew.d.roper@intel.com>
Mon, 2 Dec 2019 17:16:08 +0000 (09:16 -0800)
committerMatt Roper <matthew.d.roper@intel.com>
Tue, 3 Dec 2019 19:12:42 +0000 (11:12 -0800)
commit12229c4bc6f1c622038998bef3ae056d778df7d4
tree3ee893be99a00ecfc25b9cf79a9180ecbf43fddf
parent6ce1af99f2d1fa9b9af3d6180d14e0d9725edffd
drm/i915/irq: Refactor gen11 display interrupt handling

Let's move handling and reset for gen11 display IRQs to their own
functions, similar to how we deal with GT interrupts.  This will make
the top-level functions a bit easier to read and potentially make things
easier to deal with in the future if new platforms wind up needing
different display handling logic.

Cc: Lucas De Marchi <lucas.demarchi@intel.com>
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191202171608.3361125-1-matthew.d.roper@intel.com
Reviewed-by: Radhakrishna Sripada <radhakrishna.sripada@intel.com>
drivers/gpu/drm/i915/i915_irq.c