Re: [PATCH 06/16] gpu: nova-core: define registers layout using helper macro

2025-04-28 Thread Alexandre Courbot
Hi Danilo, On Tue Apr 22, 2025 at 7:29 PM JST, Danilo Krummrich wrote: > On Sun, Apr 20, 2025 at 09:19:38PM +0900, Alexandre Courbot wrote: >> Add the register!() macro, which defines a given register's layout and >> provide bit-field accessors with a way to convert them to a given type. >> This m

Re: [PATCH 06/16] gpu: nova-core: define registers layout using helper macro

2025-04-22 Thread Danilo Krummrich
On Sun, Apr 20, 2025 at 09:19:38PM +0900, Alexandre Courbot wrote: > Add the register!() macro, which defines a given register's layout and > provide bit-field accessors with a way to convert them to a given type. > This macro will allow us to make clear definitions of the registers and > manipulat

[PATCH 06/16] gpu: nova-core: define registers layout using helper macro

2025-04-20 Thread Alexandre Courbot
Add the register!() macro, which defines a given register's layout and provide bit-field accessors with a way to convert them to a given type. This macro will allow us to make clear definitions of the registers and manipulate their fields safely. The long-term goal is to eventually move it to the