Re: [PATCH 02/43] fbdev/deferred-io: Move pageref setup into separate helper
From: Javier Martinez Canillas <javierm@redhat.com>
Date: 2024-03-17 12:49:19
Also in:
dri-devel
From: Javier Martinez Canillas <javierm@redhat.com>
Date: 2024-03-17 12:49:19
Also in:
dri-devel
Thomas Zimmermann [off-list ref] 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@suse.de> ---
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com> -- Best regards, Javier Martinez Canillas Core Platforms Red Hat