[Intel-xe] [PATCH v2 0/1] Properly return -EPROBE_DEFER if xe_display_driver_probe_defer()

Gustavo Sousa gustavo.sousa at intel.com
Wed Sep 6 21:23:32 UTC 2023


The function xe_display_driver_probe_defer() was supposed to return
-EPROBE_DEFER when not yet ready to continue the probing, but the
current implementation is actually returning 1 instead of the proper
value, which would probably keep the probe operation to be attempted
again.

Fix that by making xe_display_driver_probe_defer() return a boolean just
like intel_display_driver_probe_defer() and return -EPROBE_DEFER on the
caller if necessary.

Note that this is a v2 of [1], which will get spawned as a new series
because of the change in the title.

v2:
  - Make xe_display_driver_probe_defer() return a boolean and return
    -EPROBE_DEFER on the caller. (Lucas)

[1] https://patchwork.freedesktop.org/series/123356/

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

 drivers/gpu/drm/xe/xe_display.c | 4 ++--
 drivers/gpu/drm/xe/xe_display.h | 2 +-
 drivers/gpu/drm/xe/xe_pci.c     | 5 ++---
 3 files changed, 5 insertions(+), 6 deletions(-)

-- 
2.41.0



More information about the Intel-xe mailing list