[PATCH v9 01/23] gpu: nova-core: Select GPU_BUDDY for VRAM allocation

Joel Fernandes posted 23 patches 4 weeks ago
There is a newer version of this series
[PATCH v9 01/23] gpu: nova-core: Select GPU_BUDDY for VRAM allocation
Posted by Joel Fernandes 4 weeks ago
nova-core will use the GPU buddy allocator for physical VRAM management.
Enable it in Kconfig.

Cc: Nikola Djukic <ndjukic@nvidia.com>
Signed-off-by: Joel Fernandes <joelagnelf@nvidia.com>
---
 drivers/gpu/nova-core/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/gpu/nova-core/Kconfig b/drivers/gpu/nova-core/Kconfig
index 527920f9c4d3..809485167aff 100644
--- a/drivers/gpu/nova-core/Kconfig
+++ b/drivers/gpu/nova-core/Kconfig
@@ -5,6 +5,7 @@ config NOVA_CORE
 	depends on RUST
 	select RUST_FW_LOADER_ABSTRACTIONS
 	select AUXILIARY_BUS
+	select GPU_BUDDY
 	default n
 	help
 	  Choose this if you want to build the Nova Core driver for Nvidia
-- 
2.34.1
Re: [PATCH v9 01/23] gpu: nova-core: Select GPU_BUDDY for VRAM allocation
Posted by Alexandre Courbot 3 weeks, 1 day ago
On Wed Mar 11, 2026 at 9:39 AM JST, Joel Fernandes wrote:
> nova-core will use the GPU buddy allocator for physical VRAM management.
> Enable it in Kconfig.
>
> Cc: Nikola Djukic <ndjukic@nvidia.com>
> Signed-off-by: Joel Fernandes <joelagnelf@nvidia.com>

As I said in v8, let's squash this change with the first commit that
actually makes use of GPU_BUDDY.
Re: [PATCH v9 01/23] gpu: nova-core: Select GPU_BUDDY for VRAM allocation
Posted by Joel Fernandes 3 weeks, 1 day ago
On Mon, 16 Mar 2026, Alexandre Courbot wrote:
> As I said in v8, let's squash this change with the first commit that
> actually makes use of GPU_BUDDY.

Will do. The first commit actually using GPU_BUDDY is "Add GpuMm
centralized memory manager", so I'll squash this Kconfig select into
that commit in v10.

thanks,

--
Joel Fernandes
Re: [PATCH v9 01/23] gpu: nova-core: Select GPU_BUDDY for VRAM allocation
Posted by Eliot Courtney 3 weeks, 5 days ago
On Wed Mar 11, 2026 at 9:39 AM JST, Joel Fernandes wrote:
> nova-core will use the GPU buddy allocator for physical VRAM management.
> Enable it in Kconfig.
>
> Cc: Nikola Djukic <ndjukic@nvidia.com>
> Signed-off-by: Joel Fernandes <joelagnelf@nvidia.com>
> ---

Reviewed-by: Eliot Courtney <ecourtney@nvidia.com>