[Intel-xe] [PATCH 0/1] Remove redundant call to intel_init_display_hooks()

Gustavo Sousa gustavo.sousa at intel.com
Fri Sep 8 18:49:27 UTC 2023


In Xe initialization path, the function intel_init_display_hooks() is
being called twice, which is redundant. To remove redundancy, let's
remove one of the calls.

That function sets up hooks that are called from: (i) later in the
initialization path (i.e. intel_display_driver_probe_nogem()), (ii)
resume, or (iii) mode set commits.

In both call sites, none of the scenarios above are reached yet, so it
would be safe to remove the redundant call from either of the two.
However, since intel_display_driver_early_probe() is shared by both i915
and Xe, prefer to remove the call done from xe_display_init_nommio().

Gustavo Sousa (1):
  fixup! drm/xe/display: Implement display support

 drivers/gpu/drm/xe/xe_display.c | 2 --
 1 file changed, 2 deletions(-)

-- 
2.41.0



More information about the Intel-xe mailing list