Received: by 10.192.165.148 with SMTP id m20csp482801imm; Wed, 25 Apr 2018 02:51:16 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/s9ZQw3XS50I8w+/4ax6rPlvLfDg6qfwrQak8z+6G6Ni1NJudoYJZqKSZEk2q02hrfa+k2 X-Received: by 2002:a17:902:b203:: with SMTP id t3-v6mr29071533plr.171.1524649876521; Wed, 25 Apr 2018 02:51:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524649876; cv=none; d=google.com; s=arc-20160816; b=P+fIf2AYcsku+i+fVuVihm0PpbFrA9QAy9jnkHoktlGeGkqyyHRP5OlJx87WVLSxUe LEKN2dkigTXnMm02RpjF5KW/q9Y56iRlQJrEa7PCH3l74x1L+CYlA1lasSu9x0v3L8sN 1f8097WRgTi0v39Wn8nQezhx9TgC4nixe2Wzfay/EcIC0iX6Oca+RCyqcPR1amZDyu38 34z3MnP6HWTir9I3FMKJlgS0yTQwqE8pJHi486wzH6yvXjMW9M8ko8BRBviGajowwvBC sHCRBWaW7JkeYbOHEuIvPuQ0WE1CE0Fc40rB2uSLBAf/IZ0Min8VkF0iHBvrEBNWTFux AGaA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:arc-authentication-results; bh=pcFuWeDtSX3zGxbYjIrGnAbaxY4HqkC1GsSNgQOnIcY=; b=dSPZty1yoH8PQMDSfMfBSmZIvq7Ay9wlb8r8Mkp4MgVhfaNdayrU/Q4JLfAZ2lKIG8 9H9NVVg2UDjkB++BwfAHERhP3ivjp8L7g3mu9VlqRJ7ftdg++WukfiOjY4CP07iHa3+h l1AuOrnm7FBvoDZ9csYpn9mhhV9w8dwZJof/dIPL/+Gbh43nq74YuM2+Y0SDVSgVlSpS UGN4Geat3FCBOUian1PA8tBH3g2izBP9b9JiUmOcTPeJWjLsJM4AY0eLadWgoWmnDDVK DUN3TMKENWEjekxkHumjiA9wo1JG1W/HE2ke2N/8ES0yCdmDDE6s5enCDCeUu0FzjdM+ RkhA== 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 n2si13301849pga.202.2018.04.25.02.51.02; Wed, 25 Apr 2018 02:51:16 -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 S1751822AbeDYJt3 (ORCPT + 99 others); Wed, 25 Apr 2018 05:49:29 -0400 Received: from mail.netline.ch ([148.251.143.178]:57516 "EHLO netline-mail3.netline.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751725AbeDYJt0 (ORCPT ); Wed, 25 Apr 2018 05:49:26 -0400 Received: from localhost (localhost [127.0.0.1]) by netline-mail3.netline.ch (Postfix) with ESMTP id 563A22A604A; Wed, 25 Apr 2018 11:49:24 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at netline-mail3.netline.ch Received: from netline-mail3.netline.ch ([127.0.0.1]) by localhost (netline-mail3.netline.ch [127.0.0.1]) (amavisd-new, port 10024) with LMTP id Opt7SVUUt2vO; Wed, 25 Apr 2018 11:49:23 +0200 (CEST) Received: from thor (145.233.60.188.dynamic.wline.res.cust.swisscom.ch [188.60.233.145]) by netline-mail3.netline.ch (Postfix) with ESMTPSA id 1D4E02A6049; Wed, 25 Apr 2018 11:49:23 +0200 (CEST) Received: from localhost ([::1]) by thor with esmtp (Exim 4.90_1) (envelope-from ) id 1fBH3C-0005r8-G2; Wed, 25 Apr 2018 11:49:22 +0200 Subject: Re: [PATCH] drm/radeon: Change the default to PCI on PowerPC To: Mathieu Malaterre , =?UTF-8?Q?Christian_K=c3=b6nig?= Cc: "David (ChunMing) Zhou" , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, amd-gfx@lists.freedesktop.org, Alex Deucher References: <20180424195512.491-1-malat@debian.org> From: =?UTF-8?Q?Michel_D=c3=a4nzer?= Message-ID: <0d3b4b95-044d-ab4f-950e-85098b81cb5d@daenzer.net> Date: Wed, 25 Apr 2018 11:49:22 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <20180424195512.491-1-malat@debian.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-CA Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2018-04-24 09:55 PM, Mathieu Malaterre wrote: > AGP mode is unstable on PowerPC. Symptoms are generally of the form: > > [ 1228.795711] radeon 0000:00:10.0: ring 0 stalled for more than 10240msec > > Reviewed-by: Christian König > Signed-off-by: Mathieu Malaterre > --- > drivers/gpu/drm/radeon/radeon_drv.c | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/drivers/gpu/drm/radeon/radeon_drv.c b/drivers/gpu/drm/radeon/radeon_drv.c > index b28288a781ef..2a7977a23b31 100644 > --- a/drivers/gpu/drm/radeon/radeon_drv.c > +++ b/drivers/gpu/drm/radeon/radeon_drv.c > @@ -168,7 +168,12 @@ int radeon_no_wb; > int radeon_modeset = -1; > int radeon_dynclks = -1; > int radeon_r4xx_atom = 0; > +#ifdef __powerpc__ > +/* Default to PCI on PowerPC (fdo #95017) */ > +int radeon_agpmode = -1; > +#else > int radeon_agpmode = 0; > +#endif > int radeon_vram_limit = 0; > int radeon_gart_size = -1; /* auto */ > int radeon_benchmarking = 0; > Pushed to amd-staging-drm-next, thanks! -- Earthling Michel Dänzer | http://www.amd.com Libre software enthusiast | Mesa and X developer