projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2be2565
)
intel/isl: Declare private array as static const
author
Chad Versace
<chadversary@chromium.org>
Wed, 29 Nov 2017 18:56:26 +0000
(10:56 -0800)
committer
Chad Versace
<chadversary@chromium.org>
Mon, 4 Dec 2017 18:16:33 +0000
(10:16 -0800)
It's array isl_drm.c:modifier_info[] .
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
src/intel/isl/isl_drm.c
patch
|
blob
|
history
diff --git
a/src/intel/isl/isl_drm.c
b/src/intel/isl/isl_drm.c
index eb3c6f59138c1dcd5d92d0c7a0229e285703ce19..31895e15e16faf53589d9883a215a843a44d6348 100644
(file)
--- a/
src/intel/isl/isl_drm.c
+++ b/
src/intel/isl/isl_drm.c
@@
-71,7
+71,7
@@
isl_tiling_from_i915_tiling(uint32_t tiling)
unreachable("Invalid i915 tiling");
}
-struct isl_drm_modifier_info modifier_info[] = {
+st
atic const st
ruct isl_drm_modifier_info modifier_info[] = {
{
.modifier = DRM_FORMAT_MOD_NONE,
.name = "DRM_FORMAT_MOD_NONE",