diff options
author | EricAnholt <EricAnholt@web> | 2015-04-20 18:10:09 -0700 |
---|---|---|
committer | dri <iki-dri@freedesktop.org> | 2015-04-20 18:10:09 -0700 |
commit | 0fa241e4e5adf2bdbae8d9e2a1c51308729cedec (patch) | |
tree | ee9c57dd9841a4f2c3927d7a9bba0865d0d08c86 /VC4.mdwn | |
parent | a9cd969f2c5efb518ac6830ef4504e726ebdb7b5 (diff) |
Diffstat (limited to 'VC4.mdwn')
-rw-r--r-- | VC4.mdwn | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -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 |