[PATCH v10 7/8] nova-core: mm: Select GPU_BUDDY for VRAM allocation

Joel Fernandes posted 8 patches 1 month, 1 week ago
[PATCH v10 7/8] nova-core: mm: Select GPU_BUDDY for VRAM allocation
Posted by Joel Fernandes 1 month, 1 week 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 v10 7/8] nova-core: mm: Select GPU_BUDDY for VRAM allocation
Posted by Alexandre Courbot 1 month, 1 week ago
On Thu Feb 19, 2026 at 5:55 AM JST, Joel Fernandes wrote:
> nova-core will use the GPU buddy allocator for physical VRAM management.
> Enable it in Kconfig.

Subject prefix should just be `nova-core:`, as this touches the module's
configuration.

I'd also suggest to select `GPU_BUDDY` in the series that actively
starts using it.
Re: [PATCH v10 7/8] nova-core: mm: Select GPU_BUDDY for VRAM allocation
Posted by Joel Fernandes 1 month, 1 week ago
On Thu, Feb 19, 2026 at 09:44:28AM +0900, Alexandre Courbot wrote:
> Subject prefix should just be `nova-core:`, as this touches the module's
> configuration.

Will update to "gpu: nova-core:" per John's suggestion on the
convention.

> I'd also suggest to select `GPU_BUDDY` in the series that actively
> starts using it.

Makes sense, I'll move the GPU_BUDDY select to the patch that
actually starts using it (the mm patch).

Thanks,
Joel
Re: [PATCH v10 7/8] nova-core: mm: Select GPU_BUDDY for VRAM allocation
Posted by Joel Fernandes 1 month, 1 week ago

> On Feb 18, 2026, at 7:44 PM, Alexandre Courbot <acourbot@nvidia.com> wrote:
> 
> On Thu Feb 19, 2026 at 5:55 AM JST, Joel Fernandes wrote:
>> nova-core will use the GPU buddy allocator for physical VRAM management.
>> Enable it in Kconfig.
> 
> Subject prefix should just be `nova-core:`, as this touches the module's
> configuration.
> 
> I'd also suggest to select `GPU_BUDDY` in the series that actively
> starts using it.

Both suggestions sound good to me.

- -
Joel Fernandes



Re: [PATCH v10 7/8] nova-core: mm: Select GPU_BUDDY for VRAM allocation
Posted by John Hubbard 1 month, 1 week ago
On 2/18/26 4:44 PM, Alexandre Courbot wrote:
> On Thu Feb 19, 2026 at 5:55 AM JST, Joel Fernandes wrote:
>> nova-core will use the GPU buddy allocator for physical VRAM management.
>> Enable it in Kconfig.
> 
> Subject prefix should just be `nova-core:`, as this touches the module's
> configuration.

Or "gpu: nova-core: ", actually.

That's the convention so far, where applicable of course.

> 
> I'd also suggest to select `GPU_BUDDY` in the series that actively
> starts using it.
> 

thanks,
-- 
John Hubbard
Re: [PATCH v10 7/8] nova-core: mm: Select GPU_BUDDY for VRAM allocation
Posted by Joel Fernandes 1 month, 1 week ago
On Wed, Feb 18, 2026 at 05:14:18PM -0800, John Hubbard wrote:
> Or "gpu: nova-core: ", actually.
>
> That's the convention so far, where applicable of course.

Thanks John, will use "gpu: nova-core:" as the subject prefix.

Joel