Received: by 10.192.165.148 with SMTP id m20csp5057184imm; Tue, 24 Apr 2018 12:57:27 -0700 (PDT) X-Google-Smtp-Source: AIpwx49X/qPtC5P1d5Xif7Vmtc5CMRHwKtWx7Q6oo3DZiRT2N8j3TVZGRciXQ7UO5AdnMqnVBBpr X-Received: by 2002:a17:902:2a43:: with SMTP id i61-v6mr26687920plb.54.1524599847849; Tue, 24 Apr 2018 12:57:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524599847; cv=none; d=google.com; s=arc-20160816; b=ZWJ7o0i5NKwfN8+u4os4sjdy4VVPB1U/vvDFaoxPyxEP8FuNVSrtpfL13KaR7gq+CX VDYp6xO0YoklJpU3y6XLst6kCLIutPHPTXqevZoWxWO7oaBWfaZKCioRCU8OGdvfHPor WfYacowS6lQz7LvQxNPYuYoCFo8dzudBjxhTmKbAFVVwkMYGEUsxKA7aYCv7YtxgnEqn xGbCPQPaid/3DRjALsi+G1QTu31o5v7gKpDl9wl37WamHKLjehckuJ5MaOT3eOWwr4Ch KutUrubf6RSl57f0gfQReOUdd4103GoMu/JxFE3areuw4Oc9uIS94NUA6WOcU8fj7d0C hKbA== 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:mime-version :message-id:date:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=M1niUs/hr55tFyM8XLvexcB6Bu99QofBbFOLpbLSQBg=; b=R3G/DSehq4AR/+u/A0eL/8byk/XPER7pNFaXc9Yo+xzCSoTIwyJihcZWuw5badfmVu i7Owbi3g7Jq36/5L7wE+WjmyfwPYGdsuHX4uWjyHDoGXoDKBkyaK1VbWPBYUU2O9c63v pwDfhxLFG8buXyoLc870w4dzNVmshAOrz55P6S4+reklF9uSeUnqc+5WFvXXVS8OUJZa 9GhZ/7oq+gQVciuavtdIgCxfEMe6NkbjJGZqZQCyckyjUhJzZ1fARgr4OJ4qvry0KumP hE1d5ukYC/byhY6OeA4fzD9QoMJXq3cQg2UAkdRG1RQzvrc7casuv6v2+/gHrYdtrKZx 1ctg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=Nqs/MCMD; 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 90-v6si15332711plf.340.2018.04.24.12.57.13; Tue, 24 Apr 2018 12:57:27 -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=Nqs/MCMD; 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 S1752722AbeDXTzX (ORCPT + 99 others); Tue, 24 Apr 2018 15:55:23 -0400 Received: from mail-wm0-f68.google.com ([74.125.82.68]:33321 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752641AbeDXTzW (ORCPT ); Tue, 24 Apr 2018 15:55:22 -0400 Received: by mail-wm0-f68.google.com with SMTP id x12so1874352wmc.0 for ; Tue, 24 Apr 2018 12:55:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=M1niUs/hr55tFyM8XLvexcB6Bu99QofBbFOLpbLSQBg=; b=Nqs/MCMDMAFkgGgpX6HvjI7a+N+o0FiNbUl32+g/X1MraN7aMNF5CZ0oY4EZlOTKAg mOJ0vTnSngAOCPNqMfBXf42H6G7MLULIvy95l1VUloSAQ6ByxQ42r/KELH429V0zB5EU zFLXXSBLgF5ZNdv9OjV6KxlxR7A3MlgKlK7ysxwX3jJCbeUAFdVzeougf309drtd0tVX xQtWOaomFyFvJHuyq5jYbkgAzeWchW4y2IkE76l0nVJ5l66QVKuVu0mceCSE2Nmz8O0b GoqXVEuqZBJ3sUqSM8ir163w92nX0lR+20TPJT027AssQCbJZ5/B3Z/bAaHJfMP3QwZ0 2ivA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :mime-version:content-transfer-encoding; bh=M1niUs/hr55tFyM8XLvexcB6Bu99QofBbFOLpbLSQBg=; b=SDNbsGtt3O9Ryp8neqx95rGLKb4IHqNKoyacCsozaUa2mWhGFl6FeqhMayPEgdVagT iE7OsDCJEVh/Pfsi5cjhGkRtDEQJGjlwVtaQyuoP0OBr0H/VaZWwRxi2tXS/7b/Twqdj epvHqJp92mflU3h+o9/1UQatKZCZ3+b9ZQ6+MiaJMErPfUXkLgRRnuSzSJwINxNvIGwQ fLXw6b2HwanrjJySUva1A8LHvSH8csfhCy5pv+SyBsTG9OWcHKwbwId5C3GLoUUAtQoD foCrDXLGKcJh5Olexkf7N0ShhOyorFXA4/WwxGF1LJnYEsd8sNcjEis1/3EJmU5IkHLj q4DA== X-Gm-Message-State: ALQs6tC5O+Hrf2l4FXpNBSL2yp7oBqfAMN8r023wa76FGk3aMuAS7ZJ1 N59985CCuCM3tt62gzBHVlo= X-Received: by 10.28.6.149 with SMTP id 143mr13627523wmg.61.1524599720855; Tue, 24 Apr 2018 12:55:20 -0700 (PDT) Received: from macbookpro.malat.net (bru31-1-78-225-226-121.fbx.proxad.net. [78.225.226.121]) by smtp.gmail.com with ESMTPSA id 55-v6sm33036085wrw.52.2018.04.24.12.55.19 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 24 Apr 2018 12:55:20 -0700 (PDT) Received: by macbookpro.malat.net (Postfix, from userid 1000) id 008C310C04D8; Tue, 24 Apr 2018 21:55:18 +0200 (CEST) From: Mathieu Malaterre To: =?UTF-8?q?Christian=20K=C3=B6nig?= Cc: Mathieu Malaterre , Alex Deucher , "David (ChunMing) Zhou" , David Airlie , amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: [PATCH] drm/radeon: Change the default to PCI on PowerPC Date: Tue, 24 Apr 2018 21:55:11 +0200 Message-Id: <20180424195512.491-1-malat@debian.org> X-Mailer: git-send-email 2.11.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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; -- 2.11.0