]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ARM: bcm2835: Enable missing CMA settings for VC4 driver
authorStefan Wahren <stefan.wahren@i2se.com>
Sat, 4 Mar 2017 09:43:51 +0000 (09:43 +0000)
committerEric Anholt <eric@anholt.net>
Thu, 16 Mar 2017 18:34:37 +0000 (11:34 -0700)
commitbdd3c25423cb42171446940bca0946e0443e1a84
tree1abd357b3b5fc9cd7fb3449d9f7111742fc5379d
parentc1ae3cfa0e89fa1a7ecc4c99031f5e9ae99d9201
ARM: bcm2835: Enable missing CMA settings for VC4 driver

Currently bcm2835_defconfig has CMA disabled which makes the
HDMI output on a Raspberry Pi 1 stop working during boot:

    fb: switching to vc4drmfb from simple
    Console: switching to colour dummy device 80x30
    [drm] Initialized vc4 0.0.0 20140616 for soc:gpu on minor 0
    [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
    [drm] Driver supports precise vblank timestamp query.
    vc4-drm soc:gpu: failed to allocate buffer with size 9216000
    vc4-drm soc:gpu: Failed to set initial hw configuration.

So enable CMA and DMA_CMA in bcm2835_defconfig.

Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
Fixes: 4400d9ac05ee ("ARM: bcm2835: Enable the VC4 graphics driver in the defconfig")
Reviewed-by: Eric Anholt <eric@anholt.net>
arch/arm/configs/bcm2835_defconfig