diff options
| author | Srinivasan Shanmugam <[email protected]> | 2023-06-30 10:56:58 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2023-07-10 13:02:36 +0000 |
| commit | f51f2088f1fd0f9c63a5435ca7e92060bd3a48ae (patch) | |
| tree | 362ee5bd3c0002ba2ea0abfea5ae8ec7e9df8c55 /drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c | |
| parent | drm/amdgpu: Fix errors & warnings in gmc_ v6_0, v7_0.c (diff) | |
| download | kernel-f51f2088f1fd0f9c63a5435ca7e92060bd3a48ae.tar.gz kernel-f51f2088f1fd0f9c63a5435ca7e92060bd3a48ae.zip | |
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 <[email protected]>
Cc: Alex Deucher <[email protected]>
Signed-off-by: Srinivasan Shanmugam <[email protected]>
Acked-by: Christian König <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c')
0 files changed, 0 insertions, 0 deletions
