drm/radeon: change cayman_default_state table from global to static
authorTom Rix <trix@redhat.com>
Thu, 7 Apr 2022 21:46:59 +0000 (17:46 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 11 Apr 2022 17:50:35 +0000 (13:50 -0400)
commit024106930ce7d8192f97f0341f233e8d34db7e5c
treee4f9ec51b4d8bbf5bd2f412fa20a1a0a30e8722c
parentdc2947b35f519efbcdd67815ec965b8c9056d274
drm/radeon: change cayman_default_state table from global to static

cayman_default_state and cayman_default_size are only
used in ni.c.  Single file symbols should be static.
So move their definitions to cayman_blit_shaders.h
and change their storage-class-specifier to static.

Remove unneeded cayman_blit_shader.c

cayman_ps/vs definitions were removed with
commit 4f8629675800 ("drm/radeon/kms: remove r6xx+ blit copy routines")
So their declarations in cayman_blit_shader.h
are not needed, so remove them.

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/cayman_blit_shaders.c [deleted file]
drivers/gpu/drm/radeon/cayman_blit_shaders.h