diff options
| author | Felix Kuehling <felix.kuehling@amd.com> | 2026-05-13 17:12:53 +0300 |
|---|---|---|
| committer | Arunpravin Paneer Selvam <Arunpravin.PaneerSelvam@amd.com> | 2026-05-13 17:44:24 +0300 |
| commit | d989f135f71699294bb2ffd4726b526456e2db68 (patch) | |
| tree | 72951ae2af12290fe3013ff5607e727584940a72 | |
| parent | e0388b296172d9114dce490d4dc818373d514c2a (diff) | |
| download | linux-d989f135f71699294bb2ffd4726b526456e2db68.tar.xz | |
drm/ttm: Support 52-bit PAs in ttm_place
fpfn and lpfn in struct ttm_place are 32-bit page numbers. With 4KB page
size this can support up to 44-bit physical addressing. Grow these to
64-bit (uint64_t) to support larger physical addresses.
Signed-off-by: Felix Kuehling <felix.kuehling@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Arunpravin Paneer Selvam <Arunpravin.PaneerSelvam@amd.com>
Link: https://patch.msgid.link/20260513141253.20410-1-felix.kuehling@amd.com
| -rw-r--r-- | include/drm/ttm/ttm_placement.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/drm/ttm/ttm_placement.h b/include/drm/ttm/ttm_placement.h index b510a4812609..ab2639e42c54 100644 --- a/include/drm/ttm/ttm_placement.h +++ b/include/drm/ttm/ttm_placement.h @@ -81,8 +81,8 @@ * Structure indicating a possible place to put an object. */ struct ttm_place { - unsigned fpfn; - unsigned lpfn; + uint64_t fpfn; + uint64_t lpfn; uint32_t mem_type; uint32_t flags; }; |
