drm/xe/display: change order of intel_display_driver_remove_{nogem, noirq}() calls

The display driver init and cleanup calls are slightly asymmetric. The
cleanup order should be intel_display_driver_remove_noirq() and
intel_display_driver_remove_nogem(), not the other way around. This is
also what i915 does. Follow suit in xe.

Reviewed-by: Michał Grzelak <michal.grzelak@intel.com>
Link: https://patch.msgid.link/afb11c4e11cc4d946f0360aaad1664d004a93f41.1781549229.git.jani.nikula@intel.com
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
This commit is contained in:
Jani Nikula 2026-06-15 21:48:01 +03:00
parent ff8c73b7bf
commit 854d2c4092

View File

@ -103,8 +103,8 @@ static void xe_display_fini_early(void *arg)
return;
intel_hpd_cancel_work(display);
intel_display_driver_remove_nogem(display);
intel_display_driver_remove_noirq(display);
intel_display_driver_remove_nogem(display);
intel_opregion_cleanup(display);
intel_display_power_cleanup(display);
}