[PATCH 1/4] drm/ast: Remove little-endianism from I/O helpers
Javier Martinez Canillas
javierm at redhat.com
Tue Feb 28 10:15:10 UTC 2023
Thomas Zimmermann <tzimmermann at suse.de> writes:
> Replace one call to ast_io_write16() with two calls to ast_io_write8()
> in ast_set_index_reg(). The combined 16-bit-wide write of an index
> register and the corresponding data register only works on little-
> endian systems. Write both registers independent from each other.
>
> 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