]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Convert INTEL_GEN() to DISPLAY_VER() as appropriate in i915_irq.c
authorMatt Roper <matthew.d.roper@intel.com>
Sat, 20 Mar 2021 04:42:44 +0000 (21:42 -0700)
committerMatt Roper <matthew.d.roper@intel.com>
Tue, 23 Mar 2021 23:41:19 +0000 (16:41 -0700)
commit8d2db98d3f04278fd35b2c38b738faaac2e273f1
tree8e8634913bb0dc93697d786680c0fcce9229500c
parented8ac7e6ff5d23d76b4e9d668920dd961c790a14
drm/i915: Convert INTEL_GEN() to DISPLAY_VER() as appropriate in i915_irq.c

Convert the display-specific usage of INTEL_GEN, while leaving the
non-display usage as-is for now.

In the near-future we'll probably want to think about moving display
interrupt handling to its own file under the display/ directory.

v2:
 - Use new IS_DISPLAY_VER() macro.

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