[PATCH 02/43] fbdev/deferred-io: Move pageref setup into separate helper
Javier Martinez Canillas
javierm at redhat.com
Sun Mar 17 12:49:11 UTC 2024
Thomas Zimmermann <tzimmermann at suse.de> writes:
> Set up struct fb_deferred_io_pageref in th new helper function
the
> fb_deferred_io_pageref_lookup(), which runs when the pageref is first
> taken. Remove the setup code from the rest of the code.
>
> At first, the code allocates the memory of all pageref structs. The
> setup of the various fields happens when the pageref is required.
>
> Signed-off-by: Thomas Zimmermann <tzimmermann at suse.de>
> ---
Reviewed-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