mirror_ubuntu-kernels/drivers/gpu/drm/amd
Srinivasan Shanmugam 0e2b8507c4 drm/amdgpu: Fix warnings in gfxhub_v2_0.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
+       u32 tmp;
+       tmp = RREG32_SOC15(GC, 0, mmGCVM_L2_PROTECTION_FAULT_CNTL);

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>
2023-07-10 09:02:36 -04:00
..
acp
amdgpu drm/amdgpu: Fix warnings in gfxhub_v2_0.c 2023-07-10 09:02:36 -04:00
amdkfd drm/amdkfd: Skip handle mapping SVM range with no GPU access 2023-07-07 13:51:48 -04:00
amdxcp drm/amdxcp: fix Makefile to build amdxcp module 2023-06-09 12:32:53 -04:00
display drm/amd/display: Block optimize on consecutive FAMS enables 2023-07-10 09:02:07 -04:00
include drm/amdgpu: add the accelerator PCIe class 2023-06-09 12:48:57 -04:00
pm drm/amd/pm: avoid unintentional shutdown due to temperature momentary fluctuation 2023-06-30 13:12:16 -04:00