Re: Regression: 6eb0233ec2d0 ("usb: don't inherity DMA properties for USB devices")

2021-02-18 Thread Christoph Hellwig
On Thu, Feb 18, 2021 at 04:21:26PM +0100, Thomas Zimmermann wrote: > Sure, it's at [1]. For udl, the dmabuf would need to be in system memory. > The driver creates urbs from the framebuffer content and sends them to the > device for displaying. > > My question is more: what's the best interface t

Re: Regression: 6eb0233ec2d0 ("usb: don't inherity DMA properties for USB devices")

2021-02-18 Thread Thomas Zimmermann
Hi Am 18.02.21 um 16:07 schrieb Christoph Hellwig: On Thu, Feb 18, 2021 at 03:56:00PM +0100, Thomas Zimmermann wrote: I only have udl devices, but I expect that other DRM USB adapters are also affected. Find where the driver calls dma_map_* itself instead of using the USB wrappers and fix tha

Re: Regression: 6eb0233ec2d0 ("usb: don't inherity DMA properties for USB devices")

2021-02-18 Thread Christoph Hellwig
On Thu, Feb 18, 2021 at 03:56:00PM +0100, Thomas Zimmermann wrote: > I only have udl devices, but I expect that other DRM USB adapters are also > affected. Find where the driver calls dma_map_* itself instead of using the USB wrappers and fix that..

Regression: 6eb0233ec2d0 ("usb: don't inherity DMA properties for USB devices")

2021-02-18 Thread Thomas Zimmermann
Hi, commit 6eb0233ec2d0 ("usb: don't inherity DMA properties for USB devices") creates a regression with the udl driver. udl is a DRM driver for USB-based DisplayLink adapters. It's no long possible to join/mirror displays in X. STR and an error log is shown below. STR: * use inter