Re: [PATCH v3 5/6] fbdev: Move framebuffer I/O helpers into <asm/fb.h>
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: Thomas Zimmermann <tzimmermann@xxxxxxx>
- Subject: Re: [PATCH v3 5/6] fbdev: Move framebuffer I/O helpers into <asm/fb.h>
- From: Sam Ravnborg <sam@xxxxxxxxxxxx>
- Date: Wed, 3 May 2023 21:03:17 +0200
- Cc: linux-arch@xxxxxxxxxxxxxxx, linux-fbdev@xxxxxxxxxxxxxxx, linux-ia64@xxxxxxxxxxxxxxx, loongarch@xxxxxxxxxxxxxxx, arnd@xxxxxxxx, deller@xxxxxx, chenhuacai@xxxxxxxxxx, javierm@xxxxxxxxxx, dri-devel@xxxxxxxxxxxxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, James.Bottomley@xxxxxxxxxxxxxxxxxxxxx, linux-m68k@xxxxxxxxxxxxxxx, geert@xxxxxxxxxxxxxx, linux-parisc@xxxxxxxxxxxxxxx, vgupta@xxxxxxxxxx, sparclinux@xxxxxxxxxxxxxxx, kernel@xxxxxxxxxx, linux-snps-arc@xxxxxxxxxxxxxxxxxxx, davem@xxxxxxxxxxxxx, linux-arm-kernel@xxxxxxxxxxxxxxxxxxx
- In-reply-to: <df767237-2bae-f299-9cbb-1543f76c9c3a@suse.de>
- References: <20230502130223.14719-1-tzimmermann@suse.de> <20230502130223.14719-6-tzimmermann@suse.de> <20230502200300.GB319489@ravnborg.org> <df767237-2bae-f299-9cbb-1543f76c9c3a@suse.de>
Hi Thomas,
> > But I am missing something somewhere as I cannot see how this builds.
> > asm-generic now provide the fb_read/fb_write helpers.
> > But for example sparc has an architecture specifc fb.h so it will not
> > use the asm-generic variant. So I wonder how sparc get hold of the
> > asm-generic fb.h file?
>
> All architecture's <asm/fb.h> files include <asm-generic/fb.h>, so that they
> all get the interfaces which they don't define themselves. For Sparc, this
> is at [1].
>
> Best regards
> Thomas
>
>
> [1]
> https://cgit.freedesktop.org/drm/drm-tip/tree/arch/sparc/include/asm/fb.h#n19
>
> >
> > Maybe it is obvious, but I miss it.
OK, it was obvious and I missed it.
I looked at the mainline kernel, and not the drm-tip variant.
Sorry for the noise.
Sam
[Index of Archives]
[Linux Kernel]
[Sparc Linux]
[DCCP]
[Linux ARM]
[Yosemite News]
[Linux SCSI]
[Linux x86_64]
[Linux for Ham Radio]