drm/radeon: change si_default_state table from global to static
authorTom Rix <trix@redhat.com>
Mon, 4 Apr 2022 22:57:10 +0000 (18:57 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 6 Apr 2022 14:20:25 +0000 (10:20 -0400)
commitb0778bb0afb10d36de47a435abdc4ca4ecfc3f89
tree1cf4ecbcabcb2efe9dc690f60bc56f6a75a69c26
parentfa458eb10dc7218146a84e6d2e072424e64d188a
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>
drivers/gpu/drm/radeon/Makefile
drivers/gpu/drm/radeon/si_blit_shaders.c [deleted file]
drivers/gpu/drm/radeon/si_blit_shaders.h