drm/xe/display: Use a single early init call for display
authorMaarten Lankhorst <dev@lankhorst.se>
Tue, 21 Jan 2025 14:28:50 +0000 (15:28 +0100)
committerMaarten Lankhorst <dev@lankhorst.se>
Fri, 31 Jan 2025 08:42:18 +0000 (09:42 +0100)
commit65e366ace5ee3637179658e8cf37f934c857f563
tree6ca985fe605e4fc967c9373e6050861eab3fc86b
parentf595fe5f6ae7d74d7352e2577ca1577704b64b3b
drm/xe/display: Use a single early init call for display

Now that interrupts are disabled for xe_display_init_noaccel,
both xe_display_init_noirq and xe_display_init_noaccel run in the same
context.

This means that we can get rid of the 3 different init calls. Without
interrupts, nothing is touching display up to this point.
Unify those 3 early display calls into a single xe_display_init_early(),
this makes the init sequence cleaner, and display less tangled during
init.

Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250121142850.4960-3-dev@lankhorst.se
Signed-off-by: Maarten Lankhorst <dev@lankhorst.se>
drivers/gpu/drm/xe/display/xe_display.c
drivers/gpu/drm/xe/display/xe_display.h
drivers/gpu/drm/xe/xe_device.c