diff options
author | Thomas Zimmermann <tzimmermann@suse.de> | 2023-02-21 16:57:42 +0100 |
---|---|---|
committer | Thomas Zimmermann <tzimmermann@suse.de> | 2023-03-01 10:28:40 +0100 |
commit | a38410860628909712ea6a2becd42bab56c70e9a (patch) | |
tree | a2c68fae1f8d7eb95f9fd7ec39c30e88013c80ee /drivers/gpu/drm/amd/amdgpu/amdgpu_object.h | |
parent | ba3f6db4afee3f4253dbe06f4f75f9ddc6c20b8f (diff) | |
download | linux-a38410860628909712ea6a2becd42bab56c70e9a.tar.gz linux-a38410860628909712ea6a2becd42bab56c70e9a.tar.bz2 linux-a38410860628909712ea6a2becd42bab56c70e9a.zip |
drm/ast: Remove little-endianism from I/O helpers
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@suse.de>
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230221155745.27484-2-tzimmermann@suse.de
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.h')
0 files changed, 0 insertions, 0 deletions