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
81 * Structure indicating a possible place to put an object.81 * Structure indicating a possible place to put an object.
82 */82 */
83struct ttm_place {83struct ttm_place {
84 unsigned fpfn;84 uint64_t fpfn;
85 unsigned lpfn;85 uint64_t lpfn;
86 uint32_t mem_type;86 uint32_t mem_type;
87 uint32_t flags;87 uint32_t flags;
88};88};