aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/etnaviv/etnaviv_resource.c
diff options
context:
space:
mode:
authorLionel Landwerlin <[email protected]>2019-10-15 16:24:33 +0300
committerLionel Landwerlin <[email protected]>2019-10-15 21:07:25 +0000
commit701e0ac077074e0534fa744ffa48872b8740fbf2 (patch)
tree1a849743a75e86ecb85c527bf4b76ed899651931 /src/gallium/drivers/etnaviv/etnaviv_resource.c
parent7f6b9baee2dde4acecf38e77758d379fc249daf9 (diff)
etnaviv: remove variable from global namespace
Found out by accident this was clashing with another driver. Signed-off-by: Lionel Landwerlin <[email protected]> Reviewed-by: Christian Gmeiner <[email protected]> Reviewed-by: Kristian H. Kristensen <[email protected]> Cc: <[email protected]>
Diffstat (limited to 'src/gallium/drivers/etnaviv/etnaviv_resource.c')
-rw-r--r--src/gallium/drivers/etnaviv/etnaviv_resource.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/etnaviv/etnaviv_resource.c b/src/gallium/drivers/etnaviv/etnaviv_resource.c
index ff1bf2901a3..21943140f08 100644
--- a/src/gallium/drivers/etnaviv/etnaviv_resource.c
+++ b/src/gallium/drivers/etnaviv/etnaviv_resource.c
@@ -384,7 +384,7 @@ enum modifier_priority {
MODIFIER_PRIORITY_SUPER_TILED,
};
-const uint64_t priority_to_modifier[] = {
+static const uint64_t priority_to_modifier[] = {
[MODIFIER_PRIORITY_INVALID] = DRM_FORMAT_MOD_INVALID,
[MODIFIER_PRIORITY_LINEAR] = DRM_FORMAT_MOD_LINEAR,
[MODIFIER_PRIORITY_SPLIT_TILED] = DRM_FORMAT_MOD_VIVANTE_SPLIT_TILED,