Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752207AbbK2TtQ (ORCPT ); Sun, 29 Nov 2015 14:49:16 -0500 Received: from mail-bn1on0095.outbound.protection.outlook.com ([157.56.110.95]:50240 "EHLO na01-bn1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751835AbbK2TtM (ORCPT ); Sun, 29 Nov 2015 14:49:12 -0500 Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Christian.Koenig@amd.com; Subject: Re: [radeon r100] when ring test fails, provide users with option to test To: Pavel Machek , Trivial patch monkey , , , , References: <20151128205840.GA26757@amd> From: =?UTF-8?Q?Christian_K=c3=b6nig?= Message-ID: <565B56A5.4080702@amd.com> Date: Sun, 29 Nov 2015 20:48:53 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <20151128205840.GA26757@amd> Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [2a02:908:f678:3641:2504:fafb:f8a3:3297] X-ClientProxiedBy: DB4PR01CA0046.eurprd01.prod.exchangelabs.com (10.242.152.36) To CY1PR12MB0134.namprd12.prod.outlook.com (25.161.173.16) X-Microsoft-Exchange-Diagnostics: 1;CY1PR12MB0134;2:avEdp8lAnc0HoxIr1ZnV0/cWv0QqjqvocA9XFs6eueN/Sj7lA4l500xq2xzOKy7g4lUOR97WO/7r8bAfP3INrPSVwxxGjNsTOUcCJmGoQYJ+dHs+EBbZufI+HtUzIkUGB1648MPZmjGrO8MuUgqC3A==;3:O3VoFNFDEMB6oN+Jn6fS6QGPbNtSecpCc66V6wmE0NC0ztpoKi6r1BAmjh3MXz8uDZQBBZZIVfFUJkWFWLSs/bbs4L9SUTRYtIBnsf/Qx3MGlhZFj3q3sgxWwrmyt4Nk;25:MYHKgMw7rOkgQB/BbNNWvSaNs9R9xMkbl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clfzDBci/1SelTjZe15G3165/jukjUrjfQ/SIPxtBTUvlWR28OuFuC7ZoQIiACn4J9BrFcj7wh7T3tFCzxUldwQ22lZJ5FS8STxHA/96+raFSMukp/k6e9mziQnM0WMPup38BoNrykO5wwbwxbdW X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(601004)(2401047)(8121501046)(5005006)(520078)(10201501046)(3002001);SRVR:CY1PR12MB0134;BCL:0;PCL:0;RULEID:;SRVR:CY1PR12MB0134; X-Forefront-PRVS: 0775716B9D X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(6009001)(189002)(24454002)(199003)(65816999)(86362001)(5004730100002)(50466002)(47776003)(4001350100001)(65806001)(76176999)(101416001)(54356999)(50986999)(87976001)(586003)(19580405001)(107886002)(2201001)(122386002)(19580395003)(189998001)(87266999)(64126003)(83506001)(81156007)(65956001)(97736004)(5001770100001)(59896002)(80316001)(33656002)(1706002)(5001960100002)(106356001)(5008740100001)(40100003)(92566002)(105586002)(36756003)(2950100001)(1096002)(42186005)(23746002)(6116002)(230700001)(77096005)(3826002)(2101003);DIR:OUT;SFP:1101;SCL:1;SRVR:CY1PR12MB0134;H:[IPv6:2a02:908:f678:3641:2504:fafb:f8a3:3297];FPR:;SPF:None;PTR:InfoNoRecords;MX:1;A:1;LANG:en; X-Microsoft-Exchange-Diagnostics: =?Windows-1252?Q?1;CY1PR12MB0134;23:BhexCNh0rDlo7En/aG1/qdcz+lHHOPoLL1ZDi?= =?Windows-1252?Q?t5tqLwJJpfgw0vRkjp03LnrnvA7xbc24PhkXA/GkGAQWZKL/Xmf4E5wz?= =?Windows-1252?Q?iTq8x4/t53ni9iIV+zCHKaI2ls99lLz6QqbxoNq4ounqECfXTMttoEMo?= =?Windows-1252?Q?m1qyY2UOTn4ngINEHiW5NEyxNyW3jwWpmubFvL3U4vqIvuOehsnpHLMd?= =?Windows-1252?Q?pmb5EnrPCeoU1K/U4mFpSL7fbhD57vMUCZ2NH/DS0i5Dua6U2vqqNs79?= =?Windows-1252?Q?fHHWtDJZUFsN/jwsoVzqwQxiSH8SfpmeTjQhh/ev/3V//H2fBTUgmJsf?= =?Windows-1252?Q?OhIMi9AGV2oPiBpRYcN88XofrNttUsiPhROv4HGXC9NQ51M7pm3MlZgF?= =?Windows-1252?Q?QNMmttutZz+JR2csgLQK78QuvB97at66kUEroFzEqA9DsyrAqWTOe11T?= =?Windows-1252?Q?svclXPi7ZAxx1gm/AvRPhpKYQFqoH3Ha6No+nnfgM/JLdVs79sOukFUU?= =?Windows-1252?Q?qZuR5Q6RlzNYu8AbWmMYDT5cCLp51eHo+8ftEx+/O9ihUPb9tnJkQsZl?= =?Windows-1252?Q?1Q3IMWHHXJoCMS5fudb1ILKukiZ1bZ3S7DG2DSgLrA25jGG+Jfm6JTFX?= =?Windows-1252?Q?wbUwLitTxXHQuANIQZaXjsy8pm0eyo7XHMSpkKbDYLjQkk7Wr0ehrrTz?= =?Windows-1252?Q?x7vQDJVbYVRS13W/PEkc+Fg6RnPhLT7vSk45U+llN9MSjQCVE56zK0yA?= =?Windows-1252?Q?ZbTkxa9cAgNNEOMpFbVXphNrItff5UfUBs244il6avBKwVXkeCt2U5nD?= =?Windows-1252?Q?aJDzvL3FO+MiXq9Ln8LdtmoIcxYNoruQdI7ysHAfNeEGmfEEKxUTJzgm?= =?Windows-1252?Q?aMPunmQCalthdnSu4rYqxfl4/n+0fq52q1KMQ8CVengQ0HX889wCTfA9?= =?Windows-1252?Q?WL7LaRku+gMCg7iU/bgld3WJakKdgyoGYrKB35SZFOlwyYsej+xhLKUd?= =?Windows-1252?Q?tllXsTHnr8gWJe+paHWloGS3StvT6eaS74bUi6jWtIoYKhllS4BqiAyZ?= =?Windows-1252?Q?jcQ1Ezf6QoO2zDxvZ4ok2ldShV3NZi96uT5YfcZ/NfXL7UZjS4DUB9g7?= =?Windows-1252?Q?UNw5IJw+CUCcYcPuT1dPrOUysOeNmKT2FPG1R1RI8afj3KwHQrp3iMSF?= =?Windows-1252?Q?YfJCFyXGZkwNaHyIY4NlyGfIf4sljRnWAAmQjFNUgcl4OlffjrfWvI3y?= =?Windows-1252?Q?qJmA+BWBZAdKQv/rv8h4DxRqCmCP+7qMHIoWZ0eYK1hySLFqBRNVM9ra?= =?Windows-1252?Q?jLXKApBRUu4V9bWeua9Vyaq8o5J7Iq/K+6da1EYKhb1eqxXSB65+5zE/?= =?Windows-1252?Q?4ZY4kyt5t1UEsRQgM96RWDJKA5T3MNWBA=3D=3D?= X-Microsoft-Exchange-Diagnostics: 1;CY1PR12MB0134;5:m2l4ik6tpfVm4ko0oPhruEYPx9X2AiW5V2KGOiLoeoVntTHyCh547Ca3y7cRflgNf2OgHzsmH6fewAqil4v6LkIps6DDbSydMmOgkttUOBr35Cx1E8+b3XpYjyrQBmz263ZilNqmHRohlKVloLTyNA==;24:DETmZ6oGP4s+vI3Yg+YfaiGuQ2LQNIGMAKzIHSWpXje5P35q+kwgoi8oOH6bpQpb8LslcwqYe7XdabsBtdn8lQRIZHomcxslMaIlkFbsl+M=;20:IvyBohyqXSxGXtz6DpjNjbnBxmXAtLFffDe81BNhNRukPgQPS29524VlxBap4OWNemje+YeQGvI6U2HACDFXM6hU94Dm5H2lNffqXPJHmPxlpjG74FT3cxulQd7UQQC2d1K5Y0xKJ4/YoDRDai4HSzV08zyXgg04XfiuCFp7/V18f7w7IR+z+gtBQ90hLkNi/4ccRo2cbN18OZv6ZDamAdRNzn9UQBme6H+YPCXDt6dJVhRO/94Hy1UWH7kmbCmf X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Nov 2015 19:49:07.0721 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR12MB0134 X-Microsoft-Exchange-Diagnostics: 1;CY1PR12MB0073;2:dXAPamdYY+SiR2hJIWPT9qeYclmmVRCK1TZUe8oWibz/nZEtBnGhCFXjjnOLiwZ/kF3iSoOgxQaPUH9LOPs5+e7152O7Stiilw8npFj0QTIpMaxnkaQ+GW+qkN4gC68YZmkeZolic3VDuuEmg3v4dg==;23:QX42g0w6UwkeXWaSdDbbWc2C6vVLSTV50aBWjBS0KvELq8Spf04c5LYRkBLvsXWCL8D9lEVE1kHbCCc+CvvqY+dhSFnMdufgirj7QDY0ooSAKZv3DjsWG6vi9oDzF5DauP1pALF49bsouuv2l5OXcP049mD+BARMz+VKqTTCpVXBtcCj/3Kh9VENHzkkSuuS X-OriginatorOrg: amd.com Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1163 Lines: 33 On 28.11.2015 21:58, Pavel Machek wrote: > Ring test failure is often caused by too high agpmode. Tell the user > what to try. > > Signed-off-by: Pavel Machek NAK, the ring test can fail for any number of reasons and the agpmode is actually rather unlikely to be the cause. Regards, Christian. > > diff --git a/drivers/gpu/drm/radeon/r100.c b/drivers/gpu/drm/radeon/r100.c > index 238b13f..32b1917 100644 > --- a/drivers/gpu/drm/radeon/r100.c > +++ b/drivers/gpu/drm/radeon/r100.c > @@ -3665,7 +3665,7 @@ int r100_ring_test(struct radeon_device *rdev, struct radeon_ring *ring) > if (i < rdev->usec_timeout) { > DRM_INFO("ring test succeeded in %d usecs\n", i); > } else { > - DRM_ERROR("radeon: ring test failed (scratch(0x%04X)=0x%08X)\n", > + DRM_ERROR("radeon: ring test failed (scratch(0x%04X)=0x%08X), try radeon.agpmode=1?\n", > scratch, tmp); > r = -EINVAL; > } > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/