diff options
| author | Joel Fernandes <joelagnelf@nvidia.com> | 2026-08-27 17:51:42 +0900 |
|---|---|---|
| committer | Alexandre Courbot <acourbot@nvidia.com> | 2026-09-07 11:53:21 +0900 |
| commit | 1473ea0e38b3e3bc76d5e9f89ea4378550ed6328 (patch) | |
| tree | 3bcf847935c5383d356a9565f9513698736a25e3 /scripts/Makefile.thinlto | |
| parent | 1676a4478e434d43f8cab79587becd16d3e86552 (diff) | |
| download | linux-next-1473ea0e38b3e3bc76d5e9f89ea4378550ed6328.tar.gz linux-next-1473ea0e38b3e3bc76d5e9f89ea4378550ed6328.zip | |
gpu: nova-core: mm: Add VramAddress type
Add the `VramAddress` type representing a physical address in VRAM. Also
add an arithmetic helper, comparison, and operator overloads which are
required in later patches for address arithmetic.
Signed-off-by: Joel Fernandes <joelagnelf@nvidia.com>
[ecourtney: create mm.rs here, squashing in the arithmetic patch]
[ecourtney: splice the two commit bodies]
[ecourtney: drop the Pfn fields, open-coding what bitfield! generated]
[ecourtney: drop align_down and the IntoVramOffset/IntoVramRange traits]
[ecourtney: make checked_add() const over a plain u64, derive the ordering]
[ecourtney: doc wording, header, import, and signature cleanups]
Signed-off-by: Eliot Courtney <ecourtney@nvidia.com>
Acked-by: Danilo Krummrich <dakr@kernel.org>
Link: https://patch.msgid.link/20260827-pramin-split-v3-1-24b24d7afc52@nvidia.com
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
