Mesa (master): etnaviv: remove variable from global namespace
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Tue Oct 15 21:07:52 UTC 2019
Module: Mesa
Branch: master
Commit: 701e0ac077074e0534fa744ffa48872b8740fbf2
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=701e0ac077074e0534fa744ffa48872b8740fbf2
Author: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Date: Tue Oct 15 16:24:33 2019 +0300
etnaviv: remove variable from global namespace
Found out by accident this was clashing with another driver.
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Reviewed-by: Christian Gmeiner <christian.gmeiner at gmail.com>
Reviewed-by: Kristian H. Kristensen <hoegsberg at google.com>
Cc: <mesa-stable at lists.freedesktop.org>
---
src/gallium/drivers/etnaviv/etnaviv_resource.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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,
More information about the mesa-commit
mailing list