From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.3 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_2 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C9CCBC433E0 for ; Mon, 18 May 2020 00:47:43 +0000 (UTC) Received: from lists.ozlabs.org (lists.ozlabs.org [203.11.71.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 18DA9207ED for ; Mon, 18 May 2020 00:47:42 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 18DA9207ED Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.crashing.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Received: from bilbo.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 49QL2h6tM6zDqYB for ; Mon, 18 May 2020 10:47:40 +1000 (AEST) Authentication-Results: lists.ozlabs.org; spf=permerror (SPF Permanent Error: Unknown mechanism found: ip:192.40.192.88/32) smtp.mailfrom=kernel.crashing.org (client-ip=76.164.61.194; helo=kernel.crashing.org; envelope-from=benh@kernel.crashing.org; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=kernel.crashing.org Received: from kernel.crashing.org (kernel.crashing.org [76.164.61.194]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 49QL0p0rRjzDqWH for ; Mon, 18 May 2020 10:46:01 +1000 (AEST) Received: from localhost (gate.crashing.org [63.228.1.57]) (authenticated bits=0) by kernel.crashing.org (8.14.7/8.14.7) with ESMTP id 04I0j9bS010371 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Sun, 17 May 2020 19:45:13 -0500 Message-ID: <9b0db95949b973c682b449906573e7b28c6113ef.camel@kernel.crashing.org> Subject: Re: [PATCH v2 2/2] powerpc/configs: replace deprecated riva/nvidia with nouveau From: Benjamin Herrenschmidt To: Emil Velikov , dri-devel@lists.freedesktop.org Date: Mon, 18 May 2020 10:44:51 +1000 In-Reply-To: <20200517220524.4036334-2-emil.l.velikov@gmail.com> References: <20200517220524.4036334-1-emil.l.velikov@gmail.com> <20200517220524.4036334-2-emil.l.velikov@gmail.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.5-0ubuntu0.18.04.2 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-fbdev@vger.kernel.org, Antonino Daplas , Bartlomiej Zolnierkiewicz , Paul Mackerras , linuxppc-dev@lists.ozlabs.org Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" On Sun, 2020-05-17 at 23:05 +0100, Emil Velikov wrote: > As mentioned in earlier commit, the riva and nvidia fbdev drivers > have > seen no love over the years, are short on features and overall below > par > > Users are encouraged to switch to the nouveau drm driver instead. > > v2: Split configs to separate patch, enable nouveau (Bartlomiej) Back when I still had these things to play with (years ago) nouveau didn't work properly on these ancient machines. Cheers, Ben. > Cc: Antonino Daplas > Cc: Bartlomiej Zolnierkiewicz > Cc: linux-fbdev@vger.kernel.org > Cc: dri-devel@lists.freedesktop.org > Cc: Michael Ellerman > Cc: Benjamin Herrenschmidt > Cc: Paul Mackerras > Cc: linuxppc-dev@lists.ozlabs.org > Signed-off-by: Emil Velikov > Acked-by: Daniel Vetter (v1) > --- > Hi all unless, there are objections I would prefer to merge this via > the drm tree. > > Thanks > Emil > --- > arch/powerpc/configs/g5_defconfig | 10 ++++++++-- > arch/powerpc/configs/pasemi_defconfig | 9 +++++++-- > arch/powerpc/configs/pmac32_defconfig | 9 +++++++-- > arch/powerpc/configs/ppc6xx_defconfig | 10 +++++++--- > 4 files changed, 29 insertions(+), 9 deletions(-) > > diff --git a/arch/powerpc/configs/g5_defconfig > b/arch/powerpc/configs/g5_defconfig > index a68c7f3af10e..213472f373b3 100644 > --- a/arch/powerpc/configs/g5_defconfig > +++ b/arch/powerpc/configs/g5_defconfig > @@ -124,12 +124,18 @@ CONFIG_RAW_DRIVER=y > CONFIG_I2C_CHARDEV=y > CONFIG_AGP=m > CONFIG_AGP_UNINORTH=m > +CONFIG_DRM=y > +CONFIG_DRM_NOUVEAU=m > +# CONFIG_NOUVEAU_LEGACY_CTX_SUPPORT is not set > +CONFIG_NOUVEAU_DEBUG=5 > +CONFIG_NOUVEAU_DEBUG_DEFAULT=3 > +# CONFIG_NOUVEAU_DEBUG_MMU is not set > +CONFIG_DRM_NOUVEAU_BACKLIGHT=y > +# CONFIG_DRM_NOUVEAU_SVM is not set > CONFIG_FB=y > CONFIG_FIRMWARE_EDID=y > CONFIG_FB_TILEBLITTING=y > CONFIG_FB_OF=y > -CONFIG_FB_NVIDIA=y > -CONFIG_FB_NVIDIA_I2C=y > CONFIG_FB_RADEON=y > # CONFIG_VGA_CONSOLE is not set > CONFIG_FRAMEBUFFER_CONSOLE=y > diff --git a/arch/powerpc/configs/pasemi_defconfig > b/arch/powerpc/configs/pasemi_defconfig > index 08b7f4cef243..ccb3ab5e01da 100644 > --- a/arch/powerpc/configs/pasemi_defconfig > +++ b/arch/powerpc/configs/pasemi_defconfig > @@ -102,11 +102,16 @@ CONFIG_SENSORS_LM85=y > CONFIG_SENSORS_LM90=y > CONFIG_DRM=y > CONFIG_DRM_RADEON=y > +CONFIG_DRM_NOUVEAU=m > +# CONFIG_NOUVEAU_LEGACY_CTX_SUPPORT is not set > +CONFIG_NOUVEAU_DEBUG=5 > +CONFIG_NOUVEAU_DEBUG_DEFAULT=3 > +# CONFIG_NOUVEAU_DEBUG_MMU is not set > +CONFIG_DRM_NOUVEAU_BACKLIGHT=y > +# CONFIG_DRM_NOUVEAU_SVM is not set > CONFIG_FIRMWARE_EDID=y > CONFIG_FB_TILEBLITTING=y > CONFIG_FB_VGA16=y > -CONFIG_FB_NVIDIA=y > -CONFIG_FB_NVIDIA_I2C=y > CONFIG_FB_RADEON=y > # CONFIG_LCD_CLASS_DEVICE is not set > CONFIG_VGACON_SOFT_SCROLLBACK=y > diff --git a/arch/powerpc/configs/pmac32_defconfig > b/arch/powerpc/configs/pmac32_defconfig > index 05e325ca3fbd..f858627385c8 100644 > --- a/arch/powerpc/configs/pmac32_defconfig > +++ b/arch/powerpc/configs/pmac32_defconfig > @@ -199,6 +199,13 @@ CONFIG_DRM=m > CONFIG_DRM_RADEON=m > CONFIG_DRM_LEGACY=y > CONFIG_DRM_R128=m > +CONFIG_DRM_NOUVEAU=m > +# CONFIG_NOUVEAU_LEGACY_CTX_SUPPORT is not set > +CONFIG_NOUVEAU_DEBUG=5 > +CONFIG_NOUVEAU_DEBUG_DEFAULT=3 > +# CONFIG_NOUVEAU_DEBUG_MMU is not set > +CONFIG_DRM_NOUVEAU_BACKLIGHT=y > +# CONFIG_DRM_NOUVEAU_SVM is not set > CONFIG_FB=y > CONFIG_FB_OF=y > CONFIG_FB_CONTROL=y > @@ -206,8 +213,6 @@ CONFIG_FB_PLATINUM=y > CONFIG_FB_VALKYRIE=y > CONFIG_FB_CT65550=y > CONFIG_FB_IMSTT=y > -CONFIG_FB_NVIDIA=y > -CONFIG_FB_NVIDIA_I2C=y > CONFIG_FB_MATROX=y > CONFIG_FB_MATROX_MILLENIUM=y > CONFIG_FB_MATROX_MYSTIQUE=y > diff --git a/arch/powerpc/configs/ppc6xx_defconfig > b/arch/powerpc/configs/ppc6xx_defconfig > index feb5d47d8d1e..48421f5007ed 100644 > --- a/arch/powerpc/configs/ppc6xx_defconfig > +++ b/arch/powerpc/configs/ppc6xx_defconfig > @@ -738,15 +738,19 @@ CONFIG_DRM_MGA=m > CONFIG_DRM_SIS=m > CONFIG_DRM_VIA=m > CONFIG_DRM_SAVAGE=m > +CONFIG_DRM_NOUVEAU=m > +# CONFIG_NOUVEAU_LEGACY_CTX_SUPPORT is not set > +CONFIG_NOUVEAU_DEBUG=5 > +CONFIG_NOUVEAU_DEBUG_DEFAULT=3 > +# CONFIG_NOUVEAU_DEBUG_MMU is not set > +CONFIG_DRM_NOUVEAU_BACKLIGHT=y > +# CONFIG_DRM_NOUVEAU_SVM is not set > CONFIG_FB=y > CONFIG_FB_CIRRUS=m > CONFIG_FB_OF=y > CONFIG_FB_PLATINUM=y > CONFIG_FB_VALKYRIE=y > CONFIG_FB_CT65550=y > -CONFIG_FB_NVIDIA=y > -CONFIG_FB_NVIDIA_I2C=y > -CONFIG_FB_RIVA=m > CONFIG_FB_MATROX=y > CONFIG_FB_MATROX_MILLENIUM=y > CONFIG_FB_MATROX_MYSTIQUE=y