Thread (8 messages) 8 messages, 3 authors, 2023-09-05

Re: [PATCH 4/4] fbdev: Replace fb_pgprotect() with fb_pgprot_device()

From: Geert Uytterhoeven <geert@linux-m68k.org>
Date: 2023-09-04 06:50:34
Also in: dri-devel, linux-arch, linux-fbdev, linux-m68k, linux-mips, sparclinux

On Sat, Sep 2, 2023 at 11:13 AM Thomas Zimmermann [off-list ref] wrote:
Rename the fbdev mmap helper fb_pgprotect() to fb_pgprot_device().
The helper sets VMA page-access flags for framebuffers in device I/O
memory. The new name follows pgprot_device(), which does the same for
arbitrary devices.

Also clean up the helper's parameters and return value. Instead of
the VMA instance, pass the individial parameters separately: existing
page-access flags, the VMAs start and end addresses and the offset
in the underlying device memory rsp file. Return the new page-access
flags. These changes align fb_pgprot_device() closer with pgprot_device.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
 arch/m68k/include/asm/fb.h           | 19 ++++++++++---------
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>


Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help