[igt-dev] [PATCH i-g-t 0/1] lib/intel_allocator: Query exact gtt size

Jonathan Cavitt jonathan.cavitt at intel.com
Thu Sep 14 17:23:31 UTC 2023


Use the gem_context_get_param functionality to query the exact gtt size
for each vm in the intel_allocator.  This replaces the fixed declaration
using the GEN8_GTT_ADDRESS_WIDTH.

Signed-off-by: Jonathan Cavitt <jonathan.cavitt at intel.com>
Suggested-by: Chris Wilson <chris.p.wilson at linux.intel.com>

Jonathan Cavitt (1):
  lib/intel_allocator: Query exact gtt size

 lib/intel_allocator.h        | 11 +++++++++++
 lib/intel_allocator_simple.c | 10 +++++-----
 2 files changed, 16 insertions(+), 5 deletions(-)

-- 
2.25.1



More information about the igt-dev mailing list