[PATCH 06/32] fbdev/arcfb: Use generator macros for deferred I/O
Javier Martinez Canillas
javierm at redhat.com
Thu Nov 16 10:16:35 UTC 2023
Thomas Zimmermann <tzimmermann at suse.de> writes:
> Implement the driver's fops with the generator macros for deferred
> I/O. Only requires per-driver code for the on-scren scanout buffer.
> The generated helpers implement reading, writing and drawing on top
> of that. Also update the selected Kconfig tokens accordingly.
>
> Actual support for deferred I/O is missing from the driver. So
> writing to memory-mapped pages does not automatically update the
> scanout buffer.
>
> Signed-off-by: Thomas Zimmermann <tzimmermann at suse.de>
> Cc: Jaya Kumar <jayalk at intworks.biz>
> ---
> drivers/video/fbdev/Kconfig | 5 +-
> drivers/video/fbdev/arcfb.c | 113 +++++++++---------------------------
> 2 files changed, 27 insertions(+), 91 deletions(-)
>
The patch looks good to me from a high level point of view but it's not
trivial so it would be good if Jaya Kumar can review / test it as well.
Acked-by: Javier Martinez Canillas <javierm at redhat.com>
--
Best regards,
Javier Martinez Canillas
Core Platforms
Red Hat
More information about the dri-devel
mailing list