summaryrefslogtreecommitdiff
path: root/VC4.mdwn
diff options
context:
space:
mode:
authorEricAnholt <EricAnholt@web>2015-04-20 18:10:09 -0700
committerdri <iki-dri@freedesktop.org>2015-04-20 18:10:09 -0700
commit0fa241e4e5adf2bdbae8d9e2a1c51308729cedec (patch)
treeee9c57dd9841a4f2c3927d7a9bba0865d0d08c86 /VC4.mdwn
parenta9cd969f2c5efb518ac6830ef4504e726ebdb7b5 (diff)
Diffstat (limited to 'VC4.mdwn')
-rw-r--r--VC4.mdwn8
1 files changed, 5 insertions, 3 deletions
diff --git a/VC4.mdwn b/VC4.mdwn
index 1501cae..b9f9585 100644
--- a/VC4.mdwn
+++ b/VC4.mdwn
@@ -4,13 +4,15 @@ This is the Mesa and DRM driver for Broadcom VC4 hardware. It is notably used i
## Kernel driver status
-The kernel driver can be found at: <https://github.com/anholt/linux/tree/vc4-kms-v3d>
+The kernel driver can be found at: <https://github.com/anholt/linux/tree/vc4-kms-v3d>.
+
+A port to the downstream 2709 kernel for Raspberry Pi 2 can be found at <https://github.com/anholt/linux/tree/vc4-kms-v3d-rpi2> though this page doesn't have instruction for building it.
## 3D driver status
The 3D driver can be found at: <http://cgit.freedesktop.org/mesa/mesa/tree/src/gallium/drivers/vc4>
-* 92.6% passrate on piglit gpu.py on simulation
+* 93.0% passrate on piglit gpu.py on simulation
* 86.3% passrate on piglit gpu.py on Raspberry Pi
###Major causes of testcase failures:
@@ -111,7 +113,7 @@ You should start with the defconfig for 2835.
You need CONFIG_DRM_VC4=y (not m, or it won't load).
-You need CONFIG_CMA_SIZE_MBYTES=64 (or, apparently, cma=64M on the kernel command line), or you'll get "vc4-drm vc4-drm.0: failed to allocate buffer with size 7057408".
+You need CONFIG_CMA_SIZE_MBYTES=128 (or, apparently, cma=128M on the kernel command line), or you'll get "vc4-drm vc4-drm.0: failed to allocate buffer with size 7057408". (Smaller values such as 64M will cause allocation failures for even small apps like openarena).
You have to add mask_gpu_interrupt0=0x400 to /boot/config.txt