All of lore.kernel.org
 help / color / mirror / Atom feed
* [Intel-gfx] susetting the remaining swioltb couplin in DRM
@ 2022-07-11  8:26 ` Christoph Hellwig
  0 siblings, 0 replies; 18+ messages in thread
From: Christoph Hellwig @ 2022-07-11  8:26 UTC (permalink / raw)
  To: Jani Nikula, Joonas Lahtinen, Rodrigo Vivi, Tvrtko Ursulin,
	Ben Skeggs, Karol Herbst, Lyude Paul
  Cc: nouveau, intel-gfx, dri-devel

Hi i915 and nouveau maintainers,

any chance I could get some help to remove the remaining direct
driver calls into swiotlb, namely swiotlb_max_segment and
is_swiotlb_active.  Either should not matter to a driver as they
should be written to the DMA API.

In the i915 case it seems like the driver should use
dma_alloc_noncontiguous and/or dma_alloc_noncoherent to allocate
DMAable memory instead of using alloc_page and the streaming
dma mapping helpers.

For the latter it seems like it should just stop passing
use_dma_alloc == true to ttm_device_init and/or that function
should switch to use dma_alloc_noncoherent.

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

end of thread, other threads:[~2022-07-28 21:55 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-11  8:26 [Intel-gfx] susetting the remaining swioltb couplin in DRM Christoph Hellwig
2022-07-11  8:26 ` [Nouveau] " Christoph Hellwig
2022-07-11 20:31 ` [Intel-gfx] " Rodrigo Vivi
2022-07-11 20:31   ` Rodrigo Vivi
2022-07-11 20:31   ` [Nouveau] " Rodrigo Vivi
2022-07-12  5:00   ` [Intel-gfx] " Christoph Hellwig
2022-07-12  5:00     ` [Nouveau] " Christoph Hellwig
2022-07-18 11:36     ` [Intel-gfx] " Tvrtko Ursulin
2022-07-18 11:36       ` Tvrtko Ursulin
2022-07-18 11:36       ` [Nouveau] " Tvrtko Ursulin
2022-07-21 14:28       ` [Intel-gfx] " Robert Beckett
2022-07-21 14:28         ` Robert Beckett
2022-07-28 21:17 ` [Intel-gfx] " Lyude Paul
2022-07-28 21:17   ` Lyude Paul
2022-07-28 21:17   ` [Nouveau] " Lyude Paul
2022-07-28 21:55   ` [Intel-gfx] " Lyude Paul
2022-07-28 21:55     ` Lyude Paul
2022-07-28 21:55     ` [Nouveau] " Lyude Paul

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.