diff options
author | 2021-03-24 14:36:52 +0100 | |
---|---|---|
committer | 2021-04-09 16:44:08 -0400 | |
commit | 9e76e7b2066657e0e04906b6941ee0d364d8e3b8 (patch) | |
tree | 7b01ac48253a4b033d5c51e3069ad8e5219c2038 /drivers/gpu/drm/amd/amdgpu/amdgpu_benchmark.c | |
parent | drm/amdgpu: Ensure that the modifier requested is supported by plane. (diff) | |
download | linux-rng-9e76e7b2066657e0e04906b6941ee0d364d8e3b8.tar.xz linux-rng-9e76e7b2066657e0e04906b6941ee0d364d8e3b8.zip |
amdgpu: securedisplay: simplify i2c hexdump output
A previous fix I did left a rather complicated loop in
amdgpu_securedisplay_debugfs_write() for what could be expressed in a
simple sprintf, as Rasmus pointed out.
This drops the leading 0x for each byte, but is otherwise
much nicer.
Suggested-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_benchmark.c')
0 files changed, 0 insertions, 0 deletions