History

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.

Felix Kuehling committed 6 months ago

Commit d989f131 parent e0388b21 file · +2 −2Browse files

Unified · Split

include/drm/ttm/ttm_placement.h+2−2
@@ -81,8 +81,8 @@ · 80 unmodified lines
8181 * Structure indicating a possible place to put an object.
8282 */
8383 struct ttm_place {
84− unsigned fpfn;
85− unsigned lpfn;
84+ uint64_t fpfn;
85+ uint64_t lpfn;
8686 uint32_t mem_type;
8787 uint32_t flags;
8888 };