]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/i915/irq: Pair up the vblank enable/disable functions
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 1 Oct 2024 19:58:01 +0000 (22:58 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 3 Oct 2024 11:40:20 +0000 (14:40 +0300)
commit8923422ba48f548f046d8d3c9f0244086c794214
tree3d2bebc7fb3677b27f618702851392e588a7b32e
parent9075efdd96c79a0ed873a5f1bb92158c2578f4db
drm/i915/irq: Pair up the vblank enable/disable functions

The current way of organizing all .vblank_enable() functions
before all .vblabk_disable() functions is infuriating. It's
really hard to compare the enable() vs. disable() for the
same platform to make sure they properly mirror each other.

Reorganize the functions so that the enable+disable for
the same platoform are next to each.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241001195803.3371-3-ville.syrjala@linux.intel.com
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/display/intel_display_irq.c