drm/amdgpu/mes11: print MES opcodes rather than numbers
authorAlex Deucher <alexander.deucher@amd.com>
Sat, 30 Mar 2024 13:46:49 +0000 (09:46 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 23 Apr 2024 16:08:30 +0000 (12:08 -0400)
commit3f0664110a40033785e7fed56ed2e4287b14c1f9
tree8384fc0c763476488ad1b85e8bb6b0658179933e
parent2476c6bd950e696558145a5f41344b000e1af01f
drm/amdgpu/mes11: print MES opcodes rather than numbers

Makes it easier to review the logs when there are MES
errors.

v2: use dbg for emitted, add helpers for fetching strings
v3: fix missing commas (Harish)
v4: drop command prefixes (Felix)
v5: squash in bounds fix (Jun)

Acked-by: Felix Kuehling <felix.kuehling@amd.com>
Reviewed by Shaoyun.liu <Shaoyun.liu@amd.com> (v2)
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/mes_v11_0.c