Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH i-g-t 0/1] lib/intel_allocator: Query exact gtt size
@ 2023-09-14 17:23 Jonathan Cavitt
  2023-09-14 17:23 ` [igt-dev] [PATCH i-g-t 1/1] " Jonathan Cavitt
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Jonathan Cavitt @ 2023-09-14 17:23 UTC (permalink / raw)
  To: igt-dev; +Cc: chris.p.wilson, jonathan.cavitt

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@intel.com>
Suggested-by: Chris Wilson <chris.p.wilson@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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-09-18  7:39 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-14 17:23 [igt-dev] [PATCH i-g-t 0/1] lib/intel_allocator: Query exact gtt size Jonathan Cavitt
2023-09-14 17:23 ` [igt-dev] [PATCH i-g-t 1/1] " Jonathan Cavitt
2023-09-18  7:39   ` Zbigniew Kempczyński
2023-09-14 18:48 ` [igt-dev] ✗ CI.xeBAT: failure for " Patchwork
2023-09-14 18:53 ` [igt-dev] ✓ Fi.CI.BAT: success " Patchwork
2023-09-15  0:51 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox