[Intel-gfx] [PATCH v2 0/5] drm/i915: extract vblank/scanline code to a separate file

Jani Nikula
2023-01-16T12:56:24Z

Basically just https://patchwork.freedesktop.org/series/111854/ with the
two controversial patches dropped for now.

BR,
Jani.

Jani Nikula (5):
drm/i915/irq: split out vblank/scanline code to intel_vblank.[ch]
drm/i915/display: move more scanline functions to intel_vblank.[ch]
drm/i915/display: use common function for checking scanline is moving
drm/i915/vblank: use intel_de_read()
drm/i915/vblank: add and use intel_de_read64_2x32() to read vblank
counter

drivers/gpu/drm/i915/Makefile | 1 +
drivers/gpu/drm/i915/display/intel_crtc.c | 1 +
drivers/gpu/drm/i915/display/intel_de.h | 7 +
drivers/gpu/drm/i915/display/intel_display.c | 54 +--
.../drm/i915/display/intel_display_trace.h | 1 +
drivers/gpu/drm/i915/display/intel_vblank.c | 441 ++++++++++++++++++
drivers/gpu/drm/i915/display/intel_vblank.h | 23 +
drivers/gpu/drm/i915/i915_irq.c | 408 ----------------
drivers/gpu/drm/i915/i915_irq.h | 6 -
9 files changed, 476 insertions(+), 466 deletions(-)
create mode 100644 drivers/gpu/drm/i915/display/intel_vblank.c
create mode 100644 drivers/gpu/drm/i915/display/intel_vblank.h

--
2.34.1