diff options
| author | John Hubbard <jhubbard@nvidia.com> | 2026-03-10 05:10:52 +0300 |
|---|---|---|
| committer | Alexandre Courbot <acourbot@nvidia.com> | 2026-03-10 14:13:46 +0300 |
| commit | a247f8a107b5ddbf21084599ad8d8190d1357de8 (patch) | |
| tree | 7d2c1196d9b72aed70e2649623b5ed8c8059012e /include/linux/xarray.h | |
| parent | ba6e088ac6df02dfca2b90c54f8bb3559aab162c (diff) | |
| download | linux-a247f8a107b5ddbf21084599ad8d8190d1357de8.tar.xz | |
gpu: nova-core: add FbRange.len() and use it in boot.rs
A tiny simplification: now that FbLayout uses its own specific FbRange
type, add an FbRange.len() method, and use that to (very slightly)
simplify the calculation of Frts::frts_size initialization.
Suggested-by: Alexandre Courbot <acourbot@nvidia.com>
Reviewed-by: Gary Guo <gary@garyguo.net>
Signed-off-by: John Hubbard <jhubbard@nvidia.com>
Link: https://patch.msgid.link/20260310021125.117855-3-jhubbard@nvidia.com
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Diffstat (limited to 'include/linux/xarray.h')
0 files changed, 0 insertions, 0 deletions
