[PATCH][next] drm/nouveau: Avoid multiple -Wflex-array-member-not-at-end warnings

2025-02-12 Thread Gustavo A. R. Silva
-Wflex-array-member-not-at-end was introduced in GCC-14, and we are getting ready to enable it, globally. So, in order to avoid ending up with flexible-array members in the middle of other structs, we use the `struct_group_tagged()` helper to separate the flexible arrays from the rest of the membe

Re: [PATCH 3/5] drm/nouveau/nvkm: introduce new GSP reply policy NVKM_GSP_RPC_REPLY_POLL

2025-02-12 Thread Danilo Krummrich
On Wed, Feb 12, 2025 at 03:57:38PM +0900, Alexandre Courbot wrote: > On Sat Feb 8, 2025 at 2:58 AM JST, Zhi Wang wrote: > > There can be multiple cases of handling the GSP RPC messages, which > > are the reply of GSP RPC commands according to the requirement of the > > callers and the nature of the

Re: [PATCH 0/5] NVKM GSP RPC message handling policy

2025-02-12 Thread Danilo Krummrich
For future submissions, please make sure to also add the other nouveau maintainers to keep them in the loop.

Re: [PATCH v3 2/2] gpu: nova-core: add initial documentation

2025-02-12 Thread Alistair Popple
On Thu, Feb 13, 2025 at 12:33:21AM +, Benno Lossin wrote: > On 13.02.25 00:27, Alistair Popple wrote: > > On Sun, Feb 09, 2025 at 06:30:25PM +0100, Danilo Krummrich wrote: > > > > [...] > > > >> +FromPrimitive API > >> +- > >> + > >> +Sometimes the need arises to convert a num

Re: [PATCH 2/5] drm/nouveau/nvkm: factor out the current RPC command reply policies

2025-02-12 Thread Zhi Wang
On Wed, 12 Feb 2025 15:55:08 +0900 "Alexandre Courbot" wrote: > On Sat Feb 8, 2025 at 2:58 AM JST, Zhi Wang wrote: > > There can be multiple cases of handling the GSP RPC messages, which are > > the reply of GSP RPC commands according to the requirement of the callers > > and the nature of the GS

Re: [PATCH 3/5] drm/nouveau/nvkm: introduce new GSP reply policy NVKM_GSP_RPC_REPLY_POLL

2025-02-12 Thread Zhi Wang
On 12/02/2025 15.33, Danilo Krummrich wrote: > On Wed, Feb 12, 2025 at 03:57:38PM +0900, Alexandre Courbot wrote: >> On Sat Feb 8, 2025 at 2:58 AM JST, Zhi Wang wrote: >>> There can be multiple cases of handling the GSP RPC messages, which >>> are the reply of GSP RPC commands according to the requ

Re: [PATCH v3 2/2] gpu: nova-core: add initial documentation

2025-02-12 Thread Alistair Popple
On Sun, Feb 09, 2025 at 06:30:25PM +0100, Danilo Krummrich wrote: [...] > +FromPrimitive API > +- > + > +Sometimes the need arises to convert a number to a value of an enum or a > +structure. > + > +A good example from nova-core would be the ``Chipset`` enum type, which > defines