All of lore.kernel.org
 help / color / mirror / Atom feed
* [Intel-xe] [PATCH 00/12] drm/xe: Probe tweaks and reordering (part 1)
@ 2023-11-08  0:33 Michał Winiarski
  2023-11-08  0:33 ` [Intel-xe] [PATCH 01/12] drm/xe: Remove shutdown Michał Winiarski
                   ` (18 more replies)
  0 siblings, 19 replies; 38+ messages in thread
From: Michał Winiarski @ 2023-11-08  0:33 UTC (permalink / raw)
  To: intel-xe; +Cc: Michał Winiarski

When Xe is loaded on SR-IOV VF, it won't be able to get most of the
information about the hardware directly from registers (it's necessary
to communicate with GuC in order to get the data, as VF doesn't have the
same level of MMIO surface as native device).
In order to keep the probe relatively uniform between native and VF
mode, it's necessary to slightly reorder the current driver init.

The series starts with generic tweaks (dead code removal and devres
usage), followed by initial reordering focused around MMIO init and info
init.

GGTT / GuC reordering, which moves the initial "hwconfig" GuC load to
earlier point in probe will be sent as a follow-up series.

Michał Winiarski (12):
  drm/xe: Remove shutdown
  drm/xe: Skip calling drm_dev_put on probe error
  drm/xe: Use managed pci_enable_device
  drm/xe/irq: Don't call pci_free_irq_vectors
  drm/xe/mmio: Move memory training check to probe vram
  drm/xe: Move xe_set_dma_info outside of MMIO setup
  drm/xe: Move xe_mmio_probe_tiles outside of MMIO setup
  drm/xe: Split xe_info_init
  drm/xe: Introduce xe_tile_init_early and use at earlier point in probe
  drm/xe: Map the entire BAR0 and hold onto the initial mapping
  drm/xe/device: Introduce xe_device_probe_early
  drm/xe: Don't "peek" into GMD_ID

 drivers/gpu/drm/xe/regs/xe_gt_regs.h |   1 +
 drivers/gpu/drm/xe/tests/xe_pci.c    |   1 +
 drivers/gpu/drm/xe/xe_device.c       |  65 +++++++++-----
 drivers/gpu/drm/xe/xe_device.h       |   6 +-
 drivers/gpu/drm/xe/xe_irq.c          |   5 +-
 drivers/gpu/drm/xe/xe_mmio.c         |  83 ++++++-----------
 drivers/gpu/drm/xe/xe_mmio.h         |   2 +
 drivers/gpu/drm/xe/xe_pci.c          | 128 ++++++++++++++-------------
 drivers/gpu/drm/xe/xe_tile.c         |  19 ++++
 drivers/gpu/drm/xe/xe_tile.h         |   1 +
 10 files changed, 166 insertions(+), 145 deletions(-)

-- 
2.42.0


^ permalink raw reply	[flat|nested] 38+ messages in thread

end of thread, other threads:[~2023-11-14 14:18 UTC | newest]

Thread overview: 38+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-08  0:33 [Intel-xe] [PATCH 00/12] drm/xe: Probe tweaks and reordering (part 1) Michał Winiarski
2023-11-08  0:33 ` [Intel-xe] [PATCH 01/12] drm/xe: Remove shutdown Michał Winiarski
2023-11-08 15:38   ` Ville Syrjälä
2023-11-08 18:22     ` Michał Winiarski
2023-11-08  0:33 ` [Intel-xe] [PATCH 02/12] drm/xe: Skip calling drm_dev_put on probe error Michał Winiarski
2023-11-08  9:33   ` Matthew Brost
2023-11-08 17:18     ` Michał Winiarski
2023-11-08 10:23       ` Matthew Brost
2023-11-08  0:33 ` [Intel-xe] [PATCH 03/12] drm/xe: Use managed pci_enable_device Michał Winiarski
2023-11-08  0:33 ` [Intel-xe] [PATCH 04/12] drm/xe/irq: Don't call pci_free_irq_vectors Michał Winiarski
2023-11-08  0:33 ` [Intel-xe] [PATCH 05/12] drm/xe/mmio: Move memory training check to probe vram Michał Winiarski
2023-11-08  9:38   ` Matthew Brost
2023-11-09 21:57   ` Matt Roper
2023-11-14  9:48     ` Michał Winiarski
2023-11-08  0:33 ` [Intel-xe] [PATCH 06/12] drm/xe: Move xe_set_dma_info outside of MMIO setup Michał Winiarski
2023-11-08 10:14   ` Matthew Brost
2023-11-08  0:33 ` [Intel-xe] [PATCH 07/12] drm/xe: Move xe_mmio_probe_tiles " Michał Winiarski
2023-11-08 10:18   ` Matthew Brost
2023-11-08  0:33 ` [Intel-xe] [PATCH 08/12] drm/xe: Split xe_info_init Michał Winiarski
2023-11-08 10:21   ` Matthew Brost
2023-11-08  0:33 ` [Intel-xe] [PATCH 09/12] drm/xe: Introduce xe_tile_init_early and use at earlier point in probe Michał Winiarski
2023-11-08 10:25   ` Matthew Brost
2023-11-08  0:33 ` [Intel-xe] [PATCH 10/12] drm/xe: Map the entire BAR0 and hold onto the initial mapping Michał Winiarski
2023-11-08 10:57   ` Matthew Brost
2023-11-08  0:33 ` [Intel-xe] [PATCH 11/12] drm/xe/device: Introduce xe_device_probe_early Michał Winiarski
2023-11-08 15:15   ` Matthew Brost
2023-11-14  9:46     ` Michał Winiarski
2023-11-13 15:11   ` Lucas De Marchi
2023-11-14 10:02     ` Michał Winiarski
2023-11-14 14:18       ` Lucas De Marchi
2023-11-08  0:33 ` [Intel-xe] [PATCH 12/12] drm/xe: Don't "peek" into GMD_ID Michał Winiarski
2023-11-08  0:38 ` [Intel-xe] ✓ CI.Patch_applied: success for drm/xe: Probe tweaks and reordering (part 1) Patchwork
2023-11-08  0:38 ` [Intel-xe] ✗ CI.checkpatch: warning " Patchwork
2023-11-08  0:39 ` [Intel-xe] ✓ CI.KUnit: success " Patchwork
2023-11-08  0:47 ` [Intel-xe] ✓ CI.Build: " Patchwork
2023-11-08  0:47 ` [Intel-xe] ✗ CI.Hooks: failure " Patchwork
2023-11-08  0:48 ` [Intel-xe] ✓ CI.checksparse: success " Patchwork
2023-11-08  1:20 ` [Intel-xe] ✓ CI.BAT: " Patchwork

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.