Re: [PATCH] drm/fbdev-dma: Only set smem_start is enable per module option

2024-06-18 Thread Thomas Zimmermann
Hi Am 18.06.24 um 11:35 schrieb Daniel Vetter: On Mon, Jun 17, 2024 at 05:26:37PM +0200, Thomas Zimmermann wrote: Only export struct fb_info.fix.smem_start if that is required by the user and the memory does not come from vmalloc(). Setting struct fb_info.fix.smem_start breaks systems where DM

Re: [PATCH] drm/fbdev-dma: Only set smem_start is enable per module option

2024-06-18 Thread Daniel Vetter
On Mon, Jun 17, 2024 at 05:26:37PM +0200, Thomas Zimmermann wrote: > Only export struct fb_info.fix.smem_start if that is required by the > user and the memory does not come from vmalloc(). > > Setting struct fb_info.fix.smem_start breaks systems where DMA > memory is backed by vmalloc address spa

Re: [PATCH] drm/fbdev-dma: Only set smem_start is enable per module option

2024-06-17 Thread Thomas Zimmermann
Hi Am 17.06.24 um 19:42 schrieb Geert Uytterhoeven: Hi Thomas, On Mon, 17 Jun 2024, Thomas Zimmermann wrote: Only export struct fb_info.fix.smem_start if that is required by the user and the memory does not come from vmalloc(). Setting struct fb_info.fix.smem_start breaks systems where DM

Re: [PATCH] drm/fbdev-dma: Only set smem_start is enable per module option

2024-06-17 Thread Geert Uytterhoeven
Hi Thomas, On Mon, 17 Jun 2024, Thomas Zimmermann wrote: Only export struct fb_info.fix.smem_start if that is required by the user and the memory does not come from vmalloc(). Setting struct fb_info.fix.smem_start breaks systems where DMA memory is backed by vmalloc address space. An ex

[PATCH] drm/fbdev-dma: Only set smem_start is enable per module option

2024-06-17 Thread Thomas Zimmermann
Only export struct fb_info.fix.smem_start if that is required by the user and the memory does not come from vmalloc(). Setting struct fb_info.fix.smem_start breaks systems where DMA memory is backed by vmalloc address space. An example error is shown below. [3.536043] [ cut here ]