We want to be able to build both nova and nouveau and maintain the
status quo for now of nouveau binding to all GSP enabled GPUs.

In the future we may suggest switching the default to nova, but
for now the default is to let users use command line options for testing
and developers building their own kernel can set the kconfig.

This contains a precursor patch to fix the nouveau device cleanup paths.

Signed-off-by: Dave Airlie <[email protected]>
---
Changes in v2:
- nouveau dtor path is broken, so fix that before adding the new code. (Sashiko)
- Link to v1: 
https://lore.kernel.org/r/[email protected]

---
Dave Airlie (3):
      drm/nouveau/nvkm: fix device leak on ctor failure
      drm/nouveau: add option to leave GSP-capable GPUs to other drivers
      nova-core: only bind to GPUs when explicitly requested

 drivers/gpu/drm/nouveau/Kconfig                    | 17 +++++++++++++
 drivers/gpu/drm/nouveau/include/nvkm/core/pci.h    |  2 +-
 drivers/gpu/drm/nouveau/nouveau_drm.c              |  9 ++++++-
 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c  | 29 +++++++++++++++++++---
 drivers/gpu/drm/nouveau/nvkm/engine/device/pci.c   |  8 +++---
 drivers/gpu/drm/nouveau/nvkm/engine/device/priv.h  |  2 +-
 drivers/gpu/drm/nouveau/nvkm/engine/device/tegra.c | 18 ++++++++++----
 drivers/gpu/nova-core/Kconfig                      | 21 ++++++++++++++++
 drivers/gpu/nova-core/driver.rs                    | 13 ++++++++++
 drivers/gpu/nova-core/nova_core.rs                 |  4 +++
 10 files changed, 108 insertions(+), 15 deletions(-)
---
base-commit: e55a991e09e3b44f0b0d8206bb523dc57c086341
change-id: 20261119-nova-nouveau-gsp-10f8782498e4

Best regards,
-- 
Dave Airlie <[email protected]>


Reply via email to