diff options
author | Rodrigo Siqueira <Rodrigo.Siqueira@amd.com> | 2020-04-24 10:49:38 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2020-05-28 14:00:48 -0400 |
commit | 569f4f9bf059ee3f08afe4b48fc77513386d2543 (patch) | |
tree | 2769965603228768505dcdb4fbcd0eacff87906e /lib/bch.c | |
parent | 0922b899f36621126d49c0d86e90fb18d572d8a1 (diff) |
drm/amd/display: Add bit swap helper based on endianness
Christian Koenig pointed out a code duplication related to bit swap in
case of big-endian manipulation. This commit adds a helper for handling
this verification and reduces the requirement of replicate some part of
the code.
Signed-off-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Reviewed-by: Wyatt Wood <Wyatt.Wood@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'lib/bch.c')
0 files changed, 0 insertions, 0 deletions