-
- Downloads
drm/xe: Fix xe_display_fini() calls
xe_display_fini() undoes things from xe_display_init() (technically from intel_display_driver_probe()). Those `goto err` in xe_device_probe() were wrong and being accumulated over time. Commit 65e366ac ("drm/xe/display: Use a single early init call for display") made it easier to fix now that we don't have xe_display_* init calls spread on xe_device_probe(). Change xe_display_init() to use devm_add_action_or_reset() that will finalize display in the right order. While at it, also add a newline and comment about calling xe_driver_flr_fini. Cc: Maarten Lankhorst <dev@lankhorst.se> Cc: Rodrigo Vivi <rodrigo.vivi@intel.com> Reviewed-by:Rodrigo Vivi <rodrigo.vivi@intel.com> Reviewed-by:
Himal Prasad Ghimiray <himal.prasad.ghimiray@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20250213192909.996148-2-lucas.demarchi@intel.com Signed-off-by:
Lucas De Marchi <lucas.demarchi@intel.com>
Showing
- drivers/gpu/drm/xe/display/xe_display.c 12 additions, 10 deletionsdrivers/gpu/drm/xe/display/xe_display.c
- drivers/gpu/drm/xe/display/xe_display.h 0 additions, 2 deletionsdrivers/gpu/drm/xe/display/xe_display.h
- drivers/gpu/drm/xe/xe_device.c 11 additions, 10 deletionsdrivers/gpu/drm/xe/xe_device.c
Loading
Please register or sign in to comment