diff options
author | Tom Rix <trix@redhat.com> | 2022-04-04 18:57:10 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2022-04-06 10:20:25 -0400 |
commit | b0778bb0afb10d36de47a435abdc4ca4ecfc3f89 (patch) | |
tree | 1cf4ecbcabcb2efe9dc690f60bc56f6a75a69c26 /drivers/gpu/drm/amd/amdgpu/atombios_encoders.c | |
parent | fa458eb10dc7218146a84e6d2e072424e64d188a (diff) |
drm/radeon: change si_default_state table from global to static
Smatch reports these issues
si_blit_shaders.c:31:11: warning: symbol 'si_default_state'
was not declared. Should it be static?
si_blit_shaders.c:253:11: warning: symbol 'si_default_size'
was not declared. Should it be static?
Both symbols are only used in si.c. Single file symbols
should be static. So move the definition of
si_default_state and si_default_size to si_blit_shader.h
and change their storage-class-specifier to static.
Remove unneeded si_blit_shader.c
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Tom Rix <trix@redhat.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/atombios_encoders.c')
0 files changed, 0 insertions, 0 deletions