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 v3: - back to single nouveau patch - fixes ctor teardown path (Danilo) - fixes passing bind_gsp flag (John) - nova - move to using a function (Danilo) - Link to v2: https://lore.kernel.org/r/[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 (2): 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 | 6 +- drivers/gpu/drm/nouveau/nouveau_drm.c | 9 ++- drivers/gpu/drm/nouveau/nvkm/engine/device/base.c | 67 ++++++++++++++++++----- drivers/gpu/drm/nouveau/nvkm/engine/device/pci.c | 11 +++- drivers/gpu/nova-core/Kconfig | 21 +++++++ drivers/gpu/nova-core/driver.rs | 4 ++ drivers/gpu/nova-core/nova_core.rs | 23 ++++++++ 8 files changed, 139 insertions(+), 19 deletions(-) --- base-commit: e55a991e09e3b44f0b0d8206bb523dc57c086341 change-id: 20261119-nova-nouveau-gsp-10f8782498e4 Best regards, -- Dave Airlie <[email protected]>
