summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/vc4/kernel
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2014-10-24 20:49:27 +0100
committerEric Anholt <[email protected]>2014-10-28 17:15:36 -0700
commitfc1eb614a70a777be0f4f8ada194bab53105999b (patch)
tree88799774e2f1a195a9a2e83acc5eb73e6302fb2c /src/gallium/drivers/vc4/kernel
parent6576dc1e9264865c59b569ecb13f2fe439620f6c (diff)
vc4: Add .dir-locals.el for kernel style in the kernel code.
Diffstat (limited to 'src/gallium/drivers/vc4/kernel')
-rw-r--r--src/gallium/drivers/vc4/kernel/.dir-locals.el12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/gallium/drivers/vc4/kernel/.dir-locals.el b/src/gallium/drivers/vc4/kernel/.dir-locals.el
new file mode 100644
index 00000000000..2e58e90f311
--- /dev/null
+++ b/src/gallium/drivers/vc4/kernel/.dir-locals.el
@@ -0,0 +1,12 @@
+((nil
+ (indent-tabs-mode . t)
+ (tab-width . 8)
+ (c-basic-offset . 8)
+ (c-file-style . "stroustrup")
+ (fill-column . 78)
+ (eval . (progn
+ (c-set-offset 'innamespace '0)
+ (c-set-offset 'inline-open '0)))
+ )
+ (makefile-mode (indent-tabs-mode . t))
+ )