summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorSrinivasan Shanmugam <srinivasan.shanmugam@amd.com>2023-06-30 13:56:58 +0300
committerAlex Deucher <alexander.deucher@amd.com>2023-07-10 16:02:36 +0300
commitf51f2088f1fd0f9c63a5435ca7e92060bd3a48ae (patch)
tree362ee5bd3c0002ba2ea0abfea5ae8ec7e9df8c55 /tools/perf/scripts/python/syscall-counts.py
parent0cfc1d6830465997c8e9d4236f697fb00dfb8aec (diff)
downloadlinux-f51f2088f1fd0f9c63a5435ca7e92060bd3a48ae.tar.xz
drm/amdgpu: Fix warnings in gfxhub_v2_1.c
Fix the below checkpatch warnings: WARNING: static const char * array should probably be static const char * const +static const char *gfxhub_client_ids[] = { WARNING: Prefer 'unsigned int' to bare use of 'unsigned' + unsigned i; WARNING: Missing a blank line after declarations + int i; + adev->gmc.VM_L2_CNTL = RREG32_SOC15(GC, 0, mmGCVM_L2_CNTL); WARNING: Missing a blank line after declarations + int i; + WREG32_SOC15(GC, 0, mmGCVM_L2_CNTL, adev->gmc.VM_L2_CNTL); WARNING: braces {} are not necessary for single statement blocks + if (!time) { + DRM_WARN("failed to wait for GRBM(EA) idle\n"); + } Cc: Christian König <christian.koenig@amd.com> Cc: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Srinivasan Shanmugam <srinivasan.shanmugam@amd.com> Acked-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions