Re: [PATCH 08/10] drm/omapdrm: Use GEM mmap for fbdev emulation

2023-07-05 Thread Javier Martinez Canillas
Thomas Zimmermann writes: > The fbdev emulation currently uses fbdev's default mmap code, which > has been written for I/O memory. Provide an mmap that uses GEM's mmap > infrastructure. > > Utilize fine-grained fbdev macros to initialize struct fb_ops. The > macros set the read/write and the draw

[PATCH 08/10] drm/omapdrm: Use GEM mmap for fbdev emulation

2023-07-04 Thread Thomas Zimmermann
The fbdev emulation currently uses fbdev's default mmap code, which has been written for I/O memory. Provide an mmap that uses GEM's mmap infrastructure. Utilize fine-grained fbdev macros to initialize struct fb_ops. The macros set the read/write and the draw callbacks for DMA memory. Set the fb_m