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)
commita3265d851e28a5d87bf20edf025d7da3d21a760c
tree3ee893be99a00ecfc25b9cf79a9180ecbf43fddf
parentf70de8d2ca6be552fbdc40d434ad471ae20b7cae
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