summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/libxed.py
diff options
context:
space:
mode:
authorNareshkumar Gollakoti <naresh.kumar.g@intel.com>2026-07-29 17:48:40 +0530
committerHimal Prasad Ghimiray <himal.prasad.ghimiray@intel.com>2026-07-30 08:49:34 +0530
commitcaf4fd4eb805f227b9bfe7811cc58a9d91a12430 (patch)
tree6070ebcfa96772346282fd9aca02aafaebf5dda4 /tools/perf/scripts/python/libxed.py
parentceb4e4f0df78432128e11dca364207bc7856a339 (diff)
drm/xe: add XE_BO_FLAG_NEEDS_1G for minimum page-size sizing
Add XE_BO_FLAG_NEEDS_1G to mark BOs that require 1G minimum page-size sizing. Update xe_bo_init_locked() to honor the new flag in the existing VRAM/stolen-memory minimum page-size sizing path. When XE_BO_FLAG_NEEDS_1G is set, the BO size is rounded up to 1G. Otherwise, the existing 2M and 64K sizing behavior is preserved. If multiple minimum page-size flags are set, the largest requirement takes precedence: 1G over 2M over 64K. v3 - commit message reworded Signed-off-by: Nareshkumar Gollakoti <naresh.kumar.g@intel.com> Reviewed-by: Himal Prasad Ghimiray <himal.prasad.ghimiray@intel.com> Link: https://patch.msgid.link/20260729121843.1255891-4-naresh.kumar.g@intel.com Signed-off-by: Himal Prasad Ghimiray <himal.prasad.ghimiray@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions