summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_test.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2021-03-24 14:36:52 +0100
committerAlex Deucher <alexander.deucher@amd.com>2021-04-09 16:44:08 -0400
commit9e76e7b2066657e0e04906b6941ee0d364d8e3b8 (patch)
tree7b01ac48253a4b033d5c51e3069ad8e5219c2038 /drivers/gpu/drm/amd/amdgpu/amdgpu_test.c
parentf4a9be998c8ee39a30a68cb775c91928fe10a384 (diff)
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_test.c')
0 files changed, 0 insertions, 0 deletions