diff options
author | Arnd Bergmann <arnd@arndb.de> | 2023-05-22 13:50:29 +0200 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-06-09 10:47:53 -0400 |
commit | d522458e63136ccccea18077687ceff1d31527ca (patch) | |
tree | 1971b8626182be5b7649bb79e7353a4e5befc7d7 /drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c | |
parent | 87f4c2d9205c6646b25081581e810a05cc9d2799 (diff) | |
download | linux-d522458e63136ccccea18077687ceff1d31527ca.tar.gz linux-d522458e63136ccccea18077687ceff1d31527ca.tar.bz2 linux-d522458e63136ccccea18077687ceff1d31527ca.zip |
drm/amdkfd: mark local functions as static
The file was newly added and causes some -Wmissing-prototype warnings:
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gc_9_4_3.c:57:5: error: no previous prototype for 'kgd_gfx_v9_4_3_hqd_sdma_load' [-Werror=missing-prototypes]
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gc_9_4_3.c:126:5: error: no previous prototype for 'kgd_gfx_v9_4_3_hqd_sdma_dump' [-Werror=missing-prototypes]
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gc_9_4_3.c:163:6: error: no previous prototype for 'kgd_gfx_v9_4_3_hqd_sdma_is_occupied' [-Werror=missing-prototypes]
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gc_9_4_3.c:181:5: error: no previous prototype for 'kgd_gfx_v9_4_3_hqd_sdma_destroy' [-Werror=missing-prototypes]
Mark these all as 'static' since there are no outside callers.
Fixes: a805889a1531 ("drm/amdkfd: Update SDMA queue management for GFX9.4.3")
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_acpi.c')
0 files changed, 0 insertions, 0 deletions