Re: [Nouveau] susetting the remaining swioltb couplin in DRM

2022-07-28 Thread Lyude Paul
Actually, seems like I do have a question. I see that you mention that we could stop passing use_dma_alloc=true to ttm_device_init() or use dma_alloc_noncoherent(). I'm not an expert on this nouveau's mm, but after skimming it seems like if we can simply check whether or not we need all

Re: [Nouveau] susetting the remaining swioltb couplin in DRM

2022-07-28 Thread Lyude Paul
Hi! Sorry about the slow reply to this, been busy with a bunch of other pressing nouveau work lately. Anyway, the steps look pretty simple here so I can see if I can write up a patch shortly :) On Mon, 2022-07-11 at 10:26 +0200, Christoph Hellwig wrote: > Hi i915 and nouveau maintainers, > >

Re: [Nouveau] susetting the remaining swioltb couplin in DRM

2022-07-18 Thread Tvrtko Ursulin
Hi, On 12/07/2022 06:00, Christoph Hellwig wrote: On Mon, Jul 11, 2022 at 04:31:49PM -0400, Rodrigo Vivi wrote: On Mon, Jul 11, 2022 at 10:26:14AM +0200, Christoph Hellwig wrote: Hi i915 and nouveau maintainers, any chance I could get some help to remove the remaining direct driver calls

Re: [Nouveau] susetting the remaining swioltb couplin in DRM

2022-07-11 Thread Christoph Hellwig
On Mon, Jul 11, 2022 at 04:31:49PM -0400, Rodrigo Vivi wrote: > On Mon, Jul 11, 2022 at 10:26:14AM +0200, Christoph Hellwig wrote: > > 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

Re: [Nouveau] susetting the remaining swioltb couplin in DRM

2022-07-11 Thread Rodrigo Vivi
On Mon, Jul 11, 2022 at 10:26:14AM +0200, Christoph Hellwig wrote: > 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

[Nouveau] susetting the remaining swioltb couplin in DRM

2022-07-11 Thread Christoph Hellwig
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