gpu: nova-core: update and annotate TODO list
authorAlexandre Courbot <acourbot@nvidia.com>
Thu, 19 Jun 2025 13:24:08 +0000 (22:24 +0900)
committerDanilo Krummrich <dakr@kernel.org>
Mon, 23 Jun 2025 20:05:41 +0000 (22:05 +0200)
commit3606620b316c29e3de8ff87b40828c722086a9c9
tree4a987084ead90e1dca87b1af5bc7366dba58d9ee
parent859aa3d940585db3f3513964020c2a42614804dc
gpu: nova-core: update and annotate TODO list

A few new dependencies are required to remove some of the TODO items:

- A way to safely convert from byte slices to types implementing
  `FromBytes`,
- A way to obtain slices and write into a `CoherentAllocation`,
- Several improvements to the `register!()` macro,
- Alignment operations to powers of two, and an equivalent to the C
  `fls`,
- Support for `xa_alloc` in the XAlloc bindings.

Some items have also become obsolete:

- The auxiliary bus abstractions have been implemented and are in use,
- The ELF utilities are not considered for being part of the core kernel
  bindings anymore.
- VBIOS, falcon and GPU timer have been completed.

We now have quite a few TODO entries in the code, so annotate them with
a 4 letter code representing the corresponding task in `todo.rst`. This
allows to easily find which part of the code corresponds to a given
entry (and conversely).

Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Link: https://lore.kernel.org/r/20250619-nova-frts-v6-24-ecf41ef99252@nvidia.com
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
13 files changed:
Documentation/gpu/nova/core/todo.rst
drivers/gpu/nova-core/dma.rs
drivers/gpu/nova-core/driver.rs
drivers/gpu/nova-core/falcon.rs
drivers/gpu/nova-core/falcon/hal/ga102.rs
drivers/gpu/nova-core/fb.rs
drivers/gpu/nova-core/firmware/fwsec.rs
drivers/gpu/nova-core/gfw.rs
drivers/gpu/nova-core/gpu.rs
drivers/gpu/nova-core/regs.rs
drivers/gpu/nova-core/regs/macros.rs
drivers/gpu/nova-core/util.rs
drivers/gpu/nova-core/vbios.rs