Intel-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
* Rework TTMs busy handling
@ 2024-01-04 15:05 Christian König
  2024-01-04 15:05 ` [PATCH 1/4] drm/ttm: return ENOSPC from ttm_bo_mem_space Christian König
                   ` (7 more replies)
  0 siblings, 8 replies; 11+ messages in thread
From: Christian König @ 2024-01-04 15:05 UTC (permalink / raw)
  To: dri-devel, intel-gfx, thomas.hellstrom, nouveau, jani.nikula,
	kherbst, lyude, zackr

Hi guys,

I'm trying to make this functionality a bit more useful for years now
since we multiple reports that behavior of drivers can be suboptimal
when multiple placements be given.

So basically instead of hacking around the TTM behavior in the driver
once more I've gone ahead and changed the idle/busy placement list
into idle/busy placement flags. This not only saves a bunch of code,
but also allows setting some placements as fallback which are used if
allocating from the preferred ones didn't worked.

Intel CI seems to be happy with those patches, so any more comments?

Regards,
Christian.



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

end of thread, other threads:[~2024-01-05 12:27 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-04 15:05 Rework TTMs busy handling Christian König
2024-01-04 15:05 ` [PATCH 1/4] drm/ttm: return ENOSPC from ttm_bo_mem_space Christian König
2024-01-04 15:05 ` [PATCH 2/4] drm/ttm: replace busy placement with flags v4 Christian König
2024-01-04 20:02   ` Zack Rusin
2024-01-05 12:27     ` Christian König
2024-01-04 15:05 ` [PATCH 3/4] drm/ttm: improve idle/busy handling v2 Christian König
2024-01-04 15:05 ` [PATCH 4/4] drm/amdgpu: use GTT only as fallback for VRAM|GTT Christian König
2024-01-04 15:39 ` ✗ Fi.CI.CHECKPATCH: warning for series starting with [1/4] drm/ttm: return ENOSPC from ttm_bo_mem_space Patchwork
2024-01-04 15:39 ` ✗ Fi.CI.SPARSE: " Patchwork
2024-01-04 15:55 ` ✓ Fi.CI.BAT: success " Patchwork
2024-01-04 17:04 ` ✗ 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