[PATCH 2/4] drm/ast: Rework definition of I/O read and write helpers

Javier Martinez Canillas javierm at redhat.com
Tue Feb 28 10:25:35 UTC 2023


Thomas Zimmermann <tzimmermann at suse.de> writes:

> Ast defines a number of I/O helpers for accessing hardware. Only 4 of
> the many generated functions are actually used. Replace the respective
> generator macros with those 4 functions. No functional changes.
>
> Signed-off-by: Thomas Zimmermann <tzimmermann at suse.de>
> ---

Nice change. It makes much more easy to read the code with the explicit
function definitions instead of defining them using the macros.

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