Received: by 10.213.65.68 with SMTP id h4csp38488imn; Mon, 19 Mar 2018 18:48:11 -0700 (PDT) X-Google-Smtp-Source: AG47ELttgVctBPBIfeF66F4oiGBabaeCXl0NfeDpem/RylcL+HufEoURABVWRDT2tCr4B7e9iDXc X-Received: by 10.99.185.77 with SMTP id v13mr10941348pgo.112.1521510491881; Mon, 19 Mar 2018 18:48:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521510491; cv=none; d=google.com; s=arc-20160816; b=s6ohHQ4RWUEsS9imVqZ/tccFD6/FBZ1afr2f3s24gkQZPftKU1/kMCgCzipcTltHf1 1+WAx/q2JCsUiuS16ea6wITlcMfraUY/H+YJu0PvGrAgvZvp4AX8Jkj+HwTsKmDGM2jc Bi74SpP9EJhNcvjmqbRr//+VoC2+WFQLnCjFoTetmruEfL/gTcB47jjClrmdDzW8UErl jsXY/XfRNOnge5jnccCRGEFn6ddy1rNaEZwKF6h5bEwNEJiYALc9O4xE8NHeORVJZv6M 5KvSrU43FdH3zN9ZVWm+koKV8Tevp0qbC3rjyUf2q20NReDWBBqlgp8gyDMDTk9wirXe jvow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=ojNTAANax4DunH/F2dTjEYZH3MqEdMLGQ5YbnDXkWnk=; b=RO7CCVJPFm7hhihLQVBVGjn8MrBVFTeD0NmzrWrYnXkmTL3rAB5aPoavdjT6nmxIRC TtjFJFHGNkCyN03woOr938JVS8kBHE8fkzil2gRlTnJ0bi2Usoe+EIlj6KdlYlm+BPQq E6PslcONIeKlV6lRtU1coymxqjXnraIws5pZ4zqfJjMLBkAzUONkJDMVJJicdG9wAfib mTl7aUJqaArG8IG9rHw91//JFphp/SxX1gUdCjN0Qxt/xlNx+idWh7DeHjgGQHyyi7YD V0Qtt5oMPV0WcrE44pu++XE8RAzbU2scE/eRwMnFq9xB+5TG9dFsHVfVLT9nPCgN17Ll XTng== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w128si402032pfw.415.2018.03.19.18.47.58; Mon, 19 Mar 2018 18:48:11 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S969945AbeCSTzA (ORCPT + 99 others); Mon, 19 Mar 2018 15:55:00 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:47168 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S969384AbeCSST0 (ORCPT ); Mon, 19 Mar 2018 14:19:26 -0400 Received: from localhost (LFbn-1-12247-202.w90-92.abo.wanadoo.fr [90.92.61.202]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id CFE3E1138; Mon, 19 Mar 2018 18:19:24 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Stefan Wahren , Eric Anholt , Sasha Levin Subject: [PATCH 4.9 036/241] ARM: bcm2835: Enable missing CMA settings for VC4 driver Date: Mon, 19 Mar 2018 19:05:01 +0100 Message-Id: <20180319180752.673588665@linuxfoundation.org> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180319180751.172155436@linuxfoundation.org> References: <20180319180751.172155436@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.9-stable review patch. If anyone has any objections, please let me know. ------------------ From: Stefan Wahren [ Upstream commit bdd3c25423cb42171446940bca0946e0443e1a84 ] 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 Fixes: 4400d9ac05ee ("ARM: bcm2835: Enable the VC4 graphics driver in the defconfig") Reviewed-by: Eric Anholt Signed-off-by: Sasha Levin Signed-off-by: Greg Kroah-Hartman --- arch/arm/configs/bcm2835_defconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/arch/arm/configs/bcm2835_defconfig +++ b/arch/arm/configs/bcm2835_defconfig @@ -1,6 +1,5 @@ # CONFIG_LOCALVERSION_AUTO is not set CONFIG_SYSVIPC=y -CONFIG_FHANDLE=y CONFIG_NO_HZ=y CONFIG_HIGH_RES_TIMERS=y CONFIG_BSD_PROCESS_ACCT=y @@ -32,6 +31,7 @@ CONFIG_PREEMPT_VOLUNTARY=y CONFIG_AEABI=y CONFIG_KSM=y CONFIG_CLEANCACHE=y +CONFIG_CMA=y CONFIG_SECCOMP=y CONFIG_KEXEC=y CONFIG_CRASH_DUMP=y @@ -52,6 +52,7 @@ CONFIG_MAC80211=y CONFIG_DEVTMPFS=y CONFIG_DEVTMPFS_MOUNT=y # CONFIG_STANDALONE is not set +CONFIG_DMA_CMA=y CONFIG_SCSI=y CONFIG_BLK_DEV_SD=y CONFIG_SCSI_CONSTANTS=y @@ -62,7 +63,6 @@ CONFIG_USB_NET_SMSC95XX=y CONFIG_ZD1211RW=y CONFIG_INPUT_EVDEV=y # CONFIG_LEGACY_PTYS is not set -# CONFIG_DEVKMEM is not set CONFIG_SERIAL_AMBA_PL011=y CONFIG_SERIAL_AMBA_PL011_CONSOLE=y CONFIG_TTY_PRINTK=y