Received: by 10.192.165.148 with SMTP id m20csp5058010imm; Tue, 24 Apr 2018 12:58:30 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/Nn9Q7d+STattGVEG6R8lrjUhRJnRmkQz6Sw4pj4NEtGffADiJH/OCRwv8Lp4mBrdJHMuG X-Received: by 10.99.166.10 with SMTP id t10mr21726881pge.357.1524599909924; Tue, 24 Apr 2018 12:58:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524599909; cv=none; d=google.com; s=arc-20160816; b=cpWk3hEl6SnkjW0yaVFCfMYujvtpeH3GibWwIedYUHgFi+ZGqmUzvdgKMSUvBgPrc1 ImFs3q+90mHcAM4V22aJuBa9KOPhaijPNdr0amvpp85IOcUcA7w+f5K20Jky8SzsWUi+ s1Ln0VK44PhVVkF/d2o87q9U1hbHt9Gdv0hxapvfz7ZhayyzIcFRowOkfG+tedROmor3 15KFOQq00sbdsXbJhJRQarEfpvoCkENVYV7C+PODBNtBSJ14QXKqbLXAtmRWfLWTEp7Q p0Uh0W3URvkCYwPDHJ26LvOwyZIjc16PR9FI09w8OsmWx0RXnej4VNr4cHNaC9i+bjW4 0TEQ== 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:cc:to:subject :message-id:date:from:references:in-reply-to:mime-version :dkim-signature:arc-authentication-results; bh=FRMkDBghkeOutgbyb96jg1nUNoRXznToRA0FnFFrUB4=; b=R90FOIYSV5ChAF+Z1vF8FRQt6MwzSelUX4eZ4Q9JXn4fo4KintncViOok7xAjeGeaw /G3HIsMAvZ/Q8nUFpqxh5HMAQJmK0XXnjzA0mY8hVUIrBtv6LnBVXN4OyxgNBpLK2hhP /eBLs+nLwG3gGpMB1gXTalUIPaZiXSM89KLqrGQ73164mESL/hY50NZqDPsqqCWoo1s/ PYkMMcMwQWVLzAQ2JpEIhwMcD9x1+Ds79k5d2xaExGM6LpCDqYN9ZXH9gufyLMGOw7Vh 070E20Qy5mluB8ZMpZ5tzYgPb6dtvh2b8tHglicOdLddLI+idCjjC8WqzV+bGQrdM4M+ 9pqQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=rkg1MKJQ; 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 3-v6si15084019plh.47.2018.04.24.12.58.15; Tue, 24 Apr 2018 12:58:29 -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; dkim=fail header.i=@gmail.com header.s=20161025 header.b=rkg1MKJQ; 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 S1751483AbeDXT5E (ORCPT + 99 others); Tue, 24 Apr 2018 15:57:04 -0400 Received: from mail-ot0-f196.google.com ([74.125.82.196]:43716 "EHLO mail-ot0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750791AbeDXT5D (ORCPT ); Tue, 24 Apr 2018 15:57:03 -0400 Received: by mail-ot0-f196.google.com with SMTP id y10-v6so9710481otg.10 for ; Tue, 24 Apr 2018 12:57:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-transfer-encoding; bh=FRMkDBghkeOutgbyb96jg1nUNoRXznToRA0FnFFrUB4=; b=rkg1MKJQbNK9YcP9bxI0/n0MbNU0Rd7eTXhZ4Vge10A5kOFj8nrpRQxiPXQnsNiJv5 UybiAG/owog4+7T11pAzaVkFeyzxD2zhjZ9yrxdsfMcyu8hVgB07t3jaEAuQpJtqD8OC mAwUlbXXC+s/qCuAQj8+FxPWkzTFNzpRTnSszHdQFczDfEyyzXq5WrrbVeZ5MY3MFU5a sBWzl2oNbm5xlEYiUuVE7B5VqtizM8fFN8xrIrqRilSvNi9i+BmsmHjmAYYoy/KOI6hD rWkmBMDCzhXDYLHzdSNfihYLjg+GTKdEH5RfMXBean8C8G6KfLfMmgivugF6veKXcBUR lzPg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc:content-transfer-encoding; bh=FRMkDBghkeOutgbyb96jg1nUNoRXznToRA0FnFFrUB4=; b=KSvKt6rTfSYzgCWngpALx9N6lvcOn9gnx0T19kO/r+CyBNmrD57h7aDTx3/RuNqzT6 jRs2TDA94959VJ8FzytzpgtpdIti1RdX7FHg8rsd2WYxT9cFciS7ue/R1GUJzdql8tG2 y1TXt6NvdmNjv4UKdOPlTPKCbVbqfJvqpVV1qHpkH/G/0p3xxuOZ47wJJGaKOg1WuoxG uB5TqWqvly9QUDbTURj9A3k09M+aw0yzGTBiDpn27whqG2B2yaULU7+2uUmfPXRQPDcT lyMahey4oZkXvRXQonOnmZF10Peu7eav2fGpJACa6AgOMcT+jDEXK5p4SRxQG8HvdsDl W/RA== X-Gm-Message-State: ALQs6tBu1FOlPoWrlhbFPhqhZSNrGCrNc+y1HU7x+cL5BR5OpUxOgyMd BWDZAYD0yr/fXpWKvq/fADH+5SCEc+SqqoskYvU= X-Received: by 2002:a9d:524d:: with SMTP id q13-v6mr18203900otg.241.1524599822937; Tue, 24 Apr 2018 12:57:02 -0700 (PDT) MIME-Version: 1.0 Received: by 10.138.3.5 with HTTP; Tue, 24 Apr 2018 12:56:42 -0700 (PDT) In-Reply-To: <20180424195512.491-1-malat@debian.org> References: <20180424195512.491-1-malat@debian.org> From: Mathieu Malaterre Date: Tue, 24 Apr 2018 21:56:42 +0200 X-Google-Sender-Auth: 4ubxF7R-WSg-CrB-I6IRzbbmO94 Message-ID: Subject: Re: [PATCH] drm/radeon: Change the default to PCI on PowerPC To: =?UTF-8?Q?Christian_K=C3=B6nig?= Cc: Alex Deucher , "David (ChunMing) Zhou" , David Airlie , amd-gfx@lists.freedesktop.org, dri-devel , LKML Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org For reference: https://lists.freedesktop.org/archives/mesa-dev/2016-May/115453.html 2018-04-24 21:55 GMT+02:00 Mathieu Malaterre : > 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 10240mse= c > > Reviewed-by: Christian K=C3=B6nig > 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 =3D -1; > int radeon_dynclks =3D -1; > int radeon_r4xx_atom =3D 0; > +#ifdef __powerpc__ > +/* Default to PCI on PowerPC (fdo #95017) */ > +int radeon_agpmode =3D -1; > +#else > int radeon_agpmode =3D 0; > +#endif > int radeon_vram_limit =3D 0; > int radeon_gart_size =3D -1; /* auto */ > int radeon_benchmarking =3D 0; > -- > 2.11.0 >