]> 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)
commit9c3bf0911a7519b3e3b36feb9cc8d7c9870c0ac1
tree3ee893be99a00ecfc25b9cf79a9180ecbf43fddf
parent2a5dd8533dc20de0ac3db7e5a4abde883a57a70c
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