Re: [PATCH v3 0/5] gpu: drm: nova: enable calling into nova-core
From: Miguel Ojeda
Date: Mon Jun 01 2026 - 09:58:38 EST
On Fri, May 29, 2026 at 5:28 PM Alexandre Courbot <acourbot@xxxxxxxxxx> wrote:
>
> In the meantime, this series introduces a Nova-local workaround for
> `nova-drm` to call into `nova-core`. It generates the `nova-core`
> metadata that `nova-drm` can use to resolve references at build-time,
> and also builds a list of exported symbols for symbol resolution when
> modules are loaded.
The "local approach" is essentially what I suggested back then, so if
this works for you then I am happy -- with the understanding that we
will replace it with the global support soon (it is good to have a use
case in-tree :)
I see you play some tricks to get the ordering right, including a
sub-make with a double build of the `.rmeta` in "private", which in
turn forces you also to do the `.o`, right?
What I originally had in mind was simply to do everything from a
single parent `Makefile` instead, precisely to avoid complexity (after
all, it is the local approach, so you don't need to force yourself to
handle that). That should remove all those shenanigans, and it is way
easier to get right. Did you consider it?
By the way, I think a `.gitignore` entry for the generated header is missing.
Cheers,
Miguel